consensus: apply policy during verifyBlock
To follow C# implementation we should also check proposed block on policy matching.
This commit is contained in:
parent
4a1c8464f9
commit
db65ed04d9
4 changed files with 40 additions and 0 deletions
|
@ -50,6 +50,8 @@ type Blockchainer interface {
|
|||
GetTestVM(tx *transaction.Transaction) *vm.VM
|
||||
GetTransaction(util.Uint256) (*transaction.Transaction, uint32, error)
|
||||
mempool.Feer // fee interface
|
||||
GetMaxBlockSize() uint32
|
||||
GetMaxBlockSystemFee() int64
|
||||
PoolTx(*transaction.Transaction) error
|
||||
SubscribeForBlocks(ch chan<- *block.Block)
|
||||
SubscribeForExecutions(ch chan<- *state.AppExecResult)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue