mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-22 20:26:50 +00:00
Unify setting Transaction's initial group-approval status.
Refactored duplicate code into Transaction.setInitialApprovalStatus(). This is make sure transactions HAVE a group-approval status in Synchronizer before Block.isValid is called. This wasn't a problem for new, unconfirmed, individual transactions arriving over the wire due to Transaction.importAsUnconfirmed() doing the right thing. Also added a groupApprovalTimestamp to BlockChain feature-triggers to support legacy chains. Tested by syncing mainnet from scratch.
This commit is contained in:
@@ -167,6 +167,7 @@
|
||||
"arbitraryTimestamp": "1405702800000",
|
||||
"powfixTimestamp": "1456426800000",
|
||||
"v2Timestamp": "1559347200000",
|
||||
"newAssetPricingTimestamp": "2000000000000"
|
||||
"newAssetPricingTimestamp": "2000000000000",
|
||||
"groupApprovalTimestamp": "2000000000000"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user