OlinCoin
Test
|
implementation of functions used to validate a new block that is broadcast on the blockchain and update the various appropriate structures More...
#include "validate_block.h"
#include "create_block.h"
#include "mempool.h"
#include "blockchain.h"
#include "utxo_to_tx.h"
#include "double_spend_set.h"
#include "validate_tx.h"
Functions | |
void | request_prev_block (unsigned char *prev_header) |
OPTIONAL. | |
void | add_to_pending_blocks (unsigned char *curr_header) |
int | validate_prev_block_exists (Block *block) |
int | validate_all_tx_hash (Block *block) |
int | validate_coinbase_tx (Transaction **txs, unsigned int num_txs) |
int | validate_incoming_block_txs (Transaction **txs, unsigned int num_txs) |
int | validate_block_double_spend (Block *block) |
int | validate_block (Block *block) |
implementation of functions used to validate a new block that is broadcast on the blockchain and update the various appropriate structures