forked from TrueCloudLab/neoneo-go
eb11e5fb11
Implement mempool and consensus block creation policies, almost the same as SimplePolicy plugin for C# node provides with two caveats: * HighPriorityTxType is not configured and hardcoded to ClaimType * BlockedAccounts are not supported Other than that it allows us to run successfuly as testnet CN, previously our proposals were rejected because we were proposing blocks with oversized transactions (that are rejected by PoolTx() now). Mainnet and testnet configuration files are updated accordingly, but privnet is left as is with no limits. Configuration is currently attached to the Blockchain and so is the code that does policying, it may be moved somewhere in the future, but it works for now. |
||
---|---|---|
.. | ||
config.go | ||
protocol.mainnet.yml | ||
protocol.privnet.docker.four.yml | ||
protocol.privnet.docker.one.yml | ||
protocol.privnet.docker.single.yml | ||
protocol.privnet.docker.three.yml | ||
protocol.privnet.docker.two.yml | ||
protocol.privnet.yml | ||
protocol.testnet.yml | ||
protocol.unit_testnet.yml |