helium / blockchain-core

Apache License 2.0
214 stars 85 forks source link

Add a chain var to isolate var txns to their own blockchain_vars #1519

Closed Vagabond closed 1 year ago

Vagabond commented 1 year ago

Due to several observed cache issues when a var txn appears in a block with other transactions that may have been affected by the var changing, this variable has been introduced to force var txns to appear in their own block. This is done as a var so that it can only be activated once a majority of the consensus group understands the var, so a split block will not be produced.