14#include "base_block.h"
18int validate_coinbase_tx(
Transaction **txs,
unsigned int num_txs);
20int validate_incoming_block_txs(
Transaction **txs,
unsigned int num_txs);
25void add_to_pending_blocks(
unsigned char *curr_header);
27int validate_prev_block_exists(
Block *block);
29int validate_all_tx_hash(
Block *block);
31int validate_block_double_spend(
Block *block);
33int validate_block(
Block *block);
Definition: base_block.h:12
void request_prev_block(unsigned char *prev_header)
OPTIONAL.
Definition: validate_block.c:21
int validate_tx_shared(Transaction *tx)
Overall wrapper to validate an entire transaction that is NOT a Coinbase_tx.
Definition: validate_tx.c:126