Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/proof-of-stake #964

Merged
merged 892 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
892 commits
Select commit Hold shift + click to select a range
ae9e118
Introduce failing txn type so state syncer understand failing txns (#…
lazynina Feb 28, 2024
0eff225
Support uncommitted blocks in state syncer mempool flush (#1065)
lazynina Feb 28, 2024
bf84888
Fix Connect failing txn test (#1071)
lazynina Feb 28, 2024
1f644e8
Add support for seed hex in block producer seed (#1072)
lazynina Feb 28, 2024
0c40ac8
Make GetCommittedTip public (#1073)
lazynina Feb 29, 2024
9445f77
Assorted small enhancements for node restart w/ pos (#1079)
lazynina Feb 29, 2024
e1312f9
Fix txindex dependent transaction within uncommitted blocks (#1082)
lazynina Mar 1, 2024
ea2db8f
Add flag to control number of mempool txns to sync in state syncer ro…
lazynina Mar 1, 2024
0c9f9d9
wip: atomic connection logic
poolcoke Mar 4, 2024
62cae9d
Wrapper verification and connection logic for atomic transactions.
poolcoke Mar 4, 2024
8937613
Add rule error check for nested atomic transactions.
poolcoke Mar 4, 2024
b492efe
PoS NetworkManager Consolidation (#1078)
AeonSw4n Mar 4, 2024
c507ea1
Updated plumbing architecture for atomic transactions.
poolcoke Mar 7, 2024
3cd83f7
Review comment changes.
poolcoke Mar 8, 2024
0e88655
Added support for CreateAtomicTxnsWrapper along with explainer comment.
poolcoke Mar 9, 2024
4afebad
Atomic transaction testing scaffolding and helper functions.
poolcoke Mar 11, 2024
31944cd
Verify wrapper and verify atomic chain tests.
poolcoke Mar 11, 2024
02d8120
Add atomic transactions fee testing, simplify doubly linked list inde…
poolcoke Mar 14, 2024
f05e347
Fix CreateAtomicTxnsWrapper and add signature failure for inner trans…
poolcoke Mar 14, 2024
cbdfedd
Atomicity test for atomic transactions.
poolcoke Mar 14, 2024
751d3a2
PoS Mempool Simplified AddTransaction Validation (#1090)
AeonSw4n Mar 19, 2024
1117ef4
PoS MempoolTx Validated status (#1098)
AeonSw4n Mar 19, 2024
a970551
Review comments and the introduction of AtomicTxnsWrapperTxindexMetad…
poolcoke Mar 19, 2024
3ceb156
Update ComputeTransactionMetadata to properly handle atomic transacti…
poolcoke Mar 19, 2024
9fb0232
feature/pos-networking-and-syncing (#899)
tholonious Mar 20, 2024
562bc83
Merge branch 'main' into feature/proof-of-stake
tholonious Mar 20, 2024
ab1a7cc
Typos fixed, TransactionMetadata encoder/decoder patch.
poolcoke Mar 20, 2024
cf26914
Remove Redundant StartMempoolSyncRoutine Starts Before Mempool Is Ini…
tholonious Mar 20, 2024
fbd347a
Support _executeAllTestRollbackAndFlush for atomic transactions.
poolcoke Mar 20, 2024
f9f5bdc
Resolve merge conflicts with feature/proof-of-stake
poolcoke Mar 20, 2024
250a7bb
Use Safer Handshake Filter For Connected Validators (#1137)
tholonious Mar 20, 2024
9b0d553
PoS UtxoView ConnectTransactions (#1099)
AeonSw4n Mar 21, 2024
d9afc28
PoS Mempool Updated Refresh (#1100)
AeonSw4n Mar 21, 2024
021aaad
PoS Mempool Transaction Validation Routine (#1101)
AeonSw4n Mar 21, 2024
e5cb4ac
PoS Block Producer updates (#1102)
AeonSw4n Mar 21, 2024
7eafe8c
PoS Mempool Exchange Updates (#1103)
AeonSw4n Mar 21, 2024
33cf34e
Merge branch 'feature/proof-of-stake' into feature/pos-mempool-update…
AeonSw4n Mar 21, 2024
1ad4e35
nits
AeonSw4n Mar 21, 2024
09d9dbe
PoS Hypersync Updates (#1085)
AeonSw4n Mar 21, 2024
9f8ba44
Fix syncing headers state while syncing blocks (#1132)
lazynina Mar 21, 2024
b185bde
SnapshotCache struct (#1116)
lazynina Mar 21, 2024
1a3b3ab
Look up validator set only once in end of epoch (#1127)
lazynina Mar 21, 2024
df6d14e
Read bytes directly into PKID struct instead of creating reader (#1134)
lazynina Mar 21, 2024
a37ce44
Add keys only seek for badger (#1135)
lazynina Mar 21, 2024
602fafc
Set Prefix when seeking and set prefetch values to false where approp…
lazynina Mar 21, 2024
fa5c6f3
Merge branch 'feature/proof-of-stake' into feature/pos-mempool-update…
AeonSw4n Mar 22, 2024
23c6e78
nits
AeonSw4n Mar 22, 2024
ec64c72
Add refreshNoLock and fix tests
AeonSw4n Mar 22, 2024
b54f475
Tests
AeonSw4n Mar 22, 2024
5fe25e9
Add block height check to IsAtomicTxnsInnerTxn.
poolcoke Mar 28, 2024
e621fa4
Merge pull request #1086 from deso-protocol/jp/atomic_txns
poolcoke Mar 28, 2024
b876ea8
Allow orphan blocks in block index (#1151)
lazynina Mar 28, 2024
be5b7b6
Delay FastHotStuffConsensus Transition If Sync Peer Is Not Connected …
tholonious Mar 29, 2024
477d26c
Merge branch 'feature/proof-of-stake' into feature/pos-mempool-update…
tholonious Mar 29, 2024
8adba9d
Address Nina's Comments For connectFailing Removal in StateChangeSync…
tholonious Mar 29, 2024
8bb92b1
Merge pull request #1126 from deso-protocol/feature/pos-mempool-updat…
tholonious Mar 29, 2024
d03aaa2
Make MaxBlockSizeBytesPoS part of GlobalParams (#1139)
lazynina Mar 29, 2024
44b650d
Add soft max block size bytes (#1152)
lazynina Mar 29, 2024
de097fd
MaxTxnSizeBytesPoS in global params (#1153)
lazynina Mar 29, 2024
21ac6fa
Enforce a minimum fee bucket size when updating global params (#1140)
lazynina Mar 29, 2024
56d2f63
Hook up Block Production interval millis in global params (#1141)
lazynina Mar 29, 2024
81b5c7e
Fix event loop test (#1159)
lazynina Mar 29, 2024
82b5c61
Remove FailingTxn operation type (#1157)
lazynina Mar 29, 2024
7041250
Support bulk block download from peer
diamondhands0 Mar 22, 2024
d78a794
Increase the number of headers we fetch from peers after the PoS upgrade
diamondhands0 Mar 22, 2024
8e2bec4
Add version field to bulk block download message type
tholonious Mar 29, 2024
43dc82f
FastHostStuff -> FastHotStuff (#1158)
lazynina Mar 29, 2024
13f8ef2
Merge pull request #1143 from deso-protocol/diamondhands/BULK-BLOCK-D…
tholonious Mar 29, 2024
3825ee9
Increase Regtest PoS Fork Height to 100 (#1161)
tholonious Mar 29, 2024
fb9bf2f
Adjust Regtest Default Params (#1162)
tholonious Mar 29, 2024
f296edb
cache utxo ops and blocks too to speed up syncing (#1144)
lazynina Apr 1, 2024
041a631
Use block view cache to speed up state syncer mempool flushes (#1146)
lazynina Apr 1, 2024
167c6c6
Bump badger version & improve header processing logging (#1149)
diamondhands0 Apr 1, 2024
84f3224
Speed up blocksync by only writing to db when an entry has changed (#…
diamondhands0 Apr 1, 2024
414142d
Consolidate validateTransactions routine and refresh augmented view r…
lazynina Apr 2, 2024
4e69dc3
Add recent blocks txn cache (#1167)
lazynina Apr 2, 2024
1045d87
Fix wait start group for pos mempool start (#1168)
lazynina Apr 2, 2024
90a4991
Move mp write lock to the top of AddTransaction (#1169)
lazynina Apr 2, 2024
57699a1
Create Helper Function To Compute the Number of Timeouts Before Epoch…
tholonious Apr 3, 2024
f3df5da
Apply Prev Epoch Timeouts To Leader Index Computation (#1172)
tholonious Apr 3, 2024
9697733
Address Nina's Naming And Nit Comments (#1173)
tholonious Apr 3, 2024
51a8afa
Move deleting of expired nonces to end of epoch hook (#1170)
lazynina Apr 4, 2024
6f8a5bd
BLS public key enhancements (#1174)
lazynina Apr 4, 2024
aabcdc6
Allow txn relay in need blocks state for PoS (#1160)
lazynina Apr 4, 2024
3c4f766
|| !running pos in txn relay check (#1175)
lazynina Apr 4, 2024
31e7744
Deprecate FailingTransactionBMFMultiplierBasisPointsKey (#1176)
tholonious Apr 4, 2024
8554a55
Update PoW Epoch Durations to 144 Blocks (#1178)
tholonious Apr 4, 2024
e78653f
Use GetCurrentGlobalParams where applicable (#1179)
lazynina Apr 5, 2024
4c1ca2b
Use specified MinimumFeeRateNanosPerKB when computing PoS fee estimat…
lazynina Apr 5, 2024
97b4c54
Account for size of header in block producer (#1177)
lazynina Apr 5, 2024
1a58674
Pass inner txn hash in atomic txn processing (#1184)
diamondhands0 Apr 5, 2024
1d39ad7
Index NonValidators With PublicKeys On Handshake Complete (#1182)
tholonious Apr 5, 2024
7ad9edf
Improve Logging in NetworkManager and PosConsensus (#1186)
tholonious Apr 5, 2024
846f50d
Add GetAugmentedUniversalViewWithAdditionalTransactions for Backend A…
poolcoke Apr 8, 2024
a90ddc4
Add support for atomic txns in the pos mempool (#1156)
lazynina Apr 9, 2024
72a2523
Recompute fees in CreateAtomicTxnWrapper (#1183)
lazynina Apr 9, 2024
0d1c21b
Make sure global params doesn't overflow on MaximumVestedIntersection…
lazynina Apr 9, 2024
6b6bf51
Remove Duplicate Group Key Check For Validators (#1191)
tholonious Apr 9, 2024
30c9acf
Checkpoint syncing providers system (#1185)
lazynina Apr 9, 2024
e181432
Log Validator Indices and Active Validators (#1192)
tholonious Apr 9, 2024
a84e138
Add nil Check For NetworkManager Validator Address Logging
tholonious Apr 9, 2024
7198939
Add InitialLeaderIndexOffset to EpochEntry (#1199)
tholonious Apr 11, 2024
1d8a8ce
Add Uint64 to Uint64 Pseudo-Random Function (#1201)
tholonious Apr 11, 2024
6295d4c
Pass Through PreviousView To EndOfEpochHook (#1200)
tholonious Apr 11, 2024
0f48f58
Compute InitialLeaderIndexOffset On Epoch Transition (#1202)
tholonious Apr 11, 2024
6a366a9
Deprecate Previous Epoch Timeouts Count from Leader Index Computation…
tholonious Apr 11, 2024
9e41c74
Incorporate InitialLeaderIndexOffset in Leader Index Computation (#1205)
tholonious Apr 11, 2024
13f5318
Expose network manager for admin panel (#1204)
lazynina Apr 11, 2024
fc0aaea
Upgrade go to 1.22 (#1190)
lazynina Apr 11, 2024
528f509
Upgrade all deps (#1163)
lazynina Apr 11, 2024
a89ba61
Move NetworkManager GoRoutine Refresh Interval to Command Line Config…
tholonious Apr 11, 2024
1aa98a3
Remove Validator Index Logging in NetworkManager (#1208)
tholonious Apr 12, 2024
2eacb56
Add validateTransactionsReadOnlyLatestBlockView (#1196)
lazynina Apr 12, 2024
81abe1c
NewUtxoView never returns an error (#1197)
lazynina Apr 12, 2024
4925bb6
CopyUtxoView doesn't return an error (#1198)
lazynina Apr 12, 2024
27ca5ac
Adjust bundle size based on pos vs pow (#1209)
lazynina Apr 12, 2024
a94a8e0
Simplify NetworkManager Routines (#1210)
tholonious Apr 12, 2024
f47d255
Fix IsInbound and IsOutbound Checks on RemoteNode (#1211)
tholonious Apr 12, 2024
91ed982
add LatestView to checkpoint block info, refresh when starting fast h…
lazynina Apr 12, 2024
50ae431
Remove Mempool Refresh On Block Connect and Disconnect (#1214)
tholonious Apr 12, 2024
5d7f943
Add IsPoSCommitBlockEvent to block event (#1215)
lazynina Apr 12, 2024
a1acdd3
Check txn register for duplicate txn earlier in add transaction (#1216)
lazynina Apr 12, 2024
d4f02bb
Remove Gossipped Txn Error Logging (#1217)
tholonious Apr 12, 2024
a24ec7e
Use alpine:latest instead of edge (#1219)
lazynina Apr 12, 2024
192060a
Create Helper ConnectTransactionIntoNewUtxoView Function For Fail Saf…
tholonious Apr 13, 2024
5c5a4e6
Simplify Mempool Transaction Validation Routine (#1222)
tholonious Apr 13, 2024
9a99f4a
Use TxSizeBytes in estimateFeeRateNanosPerKBGivenTransactionRegister …
lazynina Apr 15, 2024
729ff83
Fix PoW mempool and fees for Atomics (#1220)
poolcoke Apr 16, 2024
eb64c96
No error from estimateFeeRateGivenTxnRegister (#1226)
lazynina Apr 16, 2024
45a0350
Add BigIntFromUint64 helper (#1227)
lazynina Apr 16, 2024
9a9c7f3
Use Sign instead of comparing big ints to 0 (#1228)
lazynina Apr 16, 2024
7f84657
Add TransactionRegister Functions to Rebucket With New Global Params …
tholonious Apr 16, 2024
396e594
Rebucket Mempool Transactions When Global Params Change (#1231)
tholonious Apr 16, 2024
b58a9e2
Update Fee Estimator When Global Params Change (#1232)
tholonious Apr 16, 2024
e9de218
Fix Mempool UpdateGlobalParams Bugs (#1233)
tholonious Apr 16, 2024
3e6a225
Fix inner utxo ops error in ComputeTransactionMetadata (#1234)
lazynina Apr 17, 2024
7a08720
Add affected public keys for coin lockups (#1235)
lazynina Apr 17, 2024
34c383a
Add map of staker PKID to public key for state consumer consumption (…
lazynina Apr 17, 2024
f6d7f25
Fix tests that rely on waiting for txn validation (#1239)
lazynina Apr 17, 2024
71d25d8
Mempool Code Cleanup (#1241)
tholonious Apr 17, 2024
7700cc9
Fix Mempool TransactionRegister Deadlock (#1242)
tholonious Apr 17, 2024
1dcb6f8
Minor Bug Fixes in Mempool and Fee Estimator (#1243)
tholonious Apr 17, 2024
32c097a
Refactor CopyUtxoView to prevent DB lookups (#1229)
lazynina Apr 18, 2024
7bf4626
Relax check transaction signature checking (#1244)
diamondhands0 Apr 18, 2024
a7a4644
Move txn signature check to ValidateDeSoTxnSanityBalanceModel (#1245)
lazynina Apr 18, 2024
d1d56d5
Create SafeUtxoView Construct For Side Effect Free Connects (#1246)
tholonious Apr 18, 2024
d8c36be
Use SafeUtxoView in The PoS Mempool Txn Validation (#1247)
tholonious Apr 18, 2024
69139c4
Use SafeUtxoView in the Pos Block Producer Block Construction (#1248)
tholonious Apr 18, 2024
ee6c147
fix (#1250)
diamondhands0 Apr 19, 2024
9a56c60
Transfer changes from z/update-state-change-entry-encoder to pos (#1194)
lazynina Apr 19, 2024
939219b
merge main to feature/proof-of-stake
lazynina Apr 22, 2024
c85f2c2
Mempool Minor Naming and Testing Cleanup (#1253)
tholonious Apr 22, 2024
c0787db
Fix PoS Fee Estimation Bugs (#1252)
diamondhands0 Apr 22, 2024
1d49eeb
Allow specifying min fee rate in atomic txn construction (#1257)
lazynina Apr 22, 2024
8045c90
Add Default Prefix to New Fee Estimation Constant Names (#1256)
tholonious Apr 23, 2024
617825f
Create Global Params For Fee Estimator Congestion and Priority Params…
tholonious Apr 23, 2024
99dd7ce
Use Global Params For Fee Estimator Congestion and Priority Params (#…
tholonious Apr 23, 2024
da73e34
Read SoftMaxBlockSizeBytesPoS From Internal Fee Estimator GlobalParam…
tholonious Apr 23, 2024
afd3a21
Set min fee rate on create atomic txns wrapper and fix comment (#1261)
lazynina Apr 23, 2024
8893e58
Fix nil arg to hash to big int, stop old block producer after cutover…
lazynina Apr 23, 2024
67bbacf
Set PoS Testnet Fork Heights (DRAFT) (#1254)
lazynina Apr 23, 2024
c000c7d
Send Requested HeaderBundle Even When Syncing (#1263)
tholonious Apr 23, 2024
70cca57
Bump transaction validation interval in TestGetBlockTransactions (#1265)
lazynina Apr 23, 2024
87f4299
Remove Sync Peer Disconnect When Header Tip Is Not Current After Sync…
tholonious Apr 23, 2024
9d024d0
Start FastHotStuffConsensus If Sync Peers are Not Eligible To Sync Fr…
tholonious Apr 23, 2024
d125bc7
Fix MergeGlobalParamEntryDefaults For Fee Estimator (#1267)
tholonious Apr 24, 2024
98cbb35
Fix SyncPeer Refresh When Current Sync Peer Disconnects (#1268)
tholonious Apr 25, 2024
1ec1efe
Create New Validator Domain Parsing and Validation (#1269)
tholonious Apr 25, 2024
b6f96a9
Tighten RegisterAsValidator Domain Validation (#1270)
tholonious Apr 25, 2024
f348398
fix iota bug (#1271)
diamondhands0 Apr 26, 2024
4c68b17
Add snapshot validators to core state (#1272)
lazynina Apr 29, 2024
27f6269
Add buying/selling pkid to GetAllDAOCoinLimitOrders with tests (#1275)
diamondhands0 Apr 29, 2024
b67523c
Ignore PoS Mempool Txn Addition When Running PoW (#1277)
tholonious Apr 29, 2024
d8197f1
Remove Redundant ValidateTransaction During Txn Submission (#1278)
tholonious Apr 30, 2024
e49f44e
Reduce logging in state syncer logic (#1273)
lazynina May 1, 2024
b2ad741
Disable Regtest Validator Auto-Registration When Not on Regtest (#1280)
tholonious May 1, 2024
6edd64f
Use ProtocolVersion2 For Both Mainnet and Testnet (#1281)
tholonious May 1, 2024
e39ac5a
Fix GetSnapshotBlockHeightPeriod (#1282)
lazynina May 2, 2024
9ea61c5
Encode block for utxo operation bundle as well as utxo operation (#1274)
lazynina May 2, 2024
a608cc3
Fix mempool global params issues (#1284)
lazynina May 7, 2024
aea3663
Compute growth multiplier once for all staking rewards (#1286)
lazynina May 7, 2024
1fa1d8a
LN PoS Review (#1283)
lazynina May 7, 2024
c4d48b7
Replace usage of uint256.NewInt(0).SetUint64(xx) with uint256.NewInt(…
lazynina May 7, 2024
79bbb29
Use real payload for pos validator handshake (#1287)
lazynina May 7, 2024
810a0f9
Use MaxTxnSizeBytesPoS to check max size of txn in ValidateDeSoTxnEnc…
lazynina May 7, 2024
b34b7fa
Simplify EstimateFee (#1289)
lazynina May 8, 2024
c76c888
enhanced cached blocks in pos fee estimator (#1290)
lazynina May 8, 2024
07fa590
Revert snapshot.go changes (#1294)
lazynina May 8, 2024
d83d595
Reemove deprecated flags from run.go (#1291)
lazynina May 8, 2024
c663ffd
Fix PosFeeEstimator Crash on Node Startup (#1295)
tholonious May 8, 2024
a5a7191
Remove PoS Mempool Assignment in dirtyHackUpdateDbOpts (#1296)
tholonious May 8, 2024
1cf8f85
Revert PosMempool UtoView DB replacements in dirtyHackUpdateDbOpts (#…
tholonious May 9, 2024
1e93743
Fix ProcessHeaderPoS Crash On Node Restart While Syncing (#1301)
tholonious May 10, 2024
7ac528c
Clear Out The blocksToSend Map When Sending MsgTypeBlockBundle (#1302)
tholonious May 10, 2024
2b58c52
hypersync pos fixes (#1297)
lazynina May 10, 2024
c0f9319
Review of hypersync-enhancements (#1300)
diamondhands0 May 10, 2024
1b57fe0
Fix checksum computation at the snapshot height (#1305)
diamondhands0 May 11, 2024
5cb4b5b
Fix encoder migration deadlock (#1307)
lazynina May 13, 2024
4a63057
Release lock before return (#1309)
lazynina May 14, 2024
ff154b6
Unlock in error case (#1310)
lazynina May 14, 2024
2849510
Beef Up Validator Registration Validations (#1311)
tholonious May 14, 2024
bd1067d
Rename FastHotStuffEventLoop Recevier to fe (#1312)
tholonious May 14, 2024
01f973e
Delete Redundant Signature Verifiction in QC Construction Functions (…
tholonious May 14, 2024
c307426
Delete Unused RandomSeedHash Functions (#1316)
tholonious May 14, 2024
4eeeb1f
Clean up FastHotStuffEvent Validations (#1317)
tholonious May 14, 2024
2056d57
Fix Comments and PosMempoolStatus Enum (#1319)
tholonious May 14, 2024
771ebfa
Deprecate MempoolTransaction Type (#1320)
tholonious May 14, 2024
a3fa9fe
Fix HasHighS func (#1313)
lazynina May 14, 2024
fde3aa1
Remove snapshot validator set total stake amount nanos (#1318)
lazynina May 14, 2024
c73633c
State syncer pos enhancements (#1322)
lazynina May 15, 2024
63615f9
More Code Cleanup and Comment Fixes (#1321)
tholonious May 15, 2024
15b6757
Request Mempool INV Message From Peer When In Steady State (#1324)
tholonious May 15, 2024
d967312
Request Mempool Only Once From Peer (#1325)
tholonious May 15, 2024
e70a776
Fix Nil Pointer Reference For Snapshot Object During Blocksync (#1326)
tholonious May 15, 2024
9156ed1
Update Ancestor Lineage Helper Function To Only Supported Stored Bloc…
tholonious May 16, 2024
78e0a5f
Add Helper Function To Heal Orphan BlockNode Parent Pointers (#1328)
tholonious May 16, 2024
d1b99cb
Request Missing Ancestors of Orphan Blocks From Peer (#1329)
tholonious May 16, 2024
aa03565
Request Missing HighQC Block From Timeout Message (#1330)
tholonious May 16, 2024
7a37bd6
Simplify IsValidStakeLimitKey (#1292)
lazynina May 16, 2024
0c29c04
Straggler Items in PoS Feature Review (#1331)
tholonious May 16, 2024
38cba45
initNewUtxoView doesn't fetch tip hash, copy view sets it and new utx…
lazynina May 16, 2024
604777d
Add Comment to Explain UVarint Encoding Validation (#1333)
tholonious May 16, 2024
a66a597
Set NegotiatedVersion on Peer Object (#1334)
tholonious May 17, 2024
8284434
Fix computeExpectedSnapshotHeight (#1335)
lazynina May 17, 2024
f837a3d
Revert removal of BlockRewardPatchBlockHeight in constants.go (#1336)
lazynina May 17, 2024
be50d07
Updates to state change syncer
superzordon May 22, 2024
8dfff90
Small bugfixes to pos state syncer
superzordon May 24, 2024
ae0a5d0
Update state change metadata encoder
superzordon May 29, 2024
0cd0119
Fix peer version to use NegotiatedProtocolVersion (#1345)
lazynina May 29, 2024
3dac3c5
Handle unhandled errors
superzordon May 30, 2024
fb6d671
Merge pull request #1344 from deso-protocol/z/pos-bugfixes
superzordon May 30, 2024
2279b24
Downgrade uint256 to 1.2.3 (#1341)
lazynina May 31, 2024
199ccf1
remove dirty hack (#1337)
diamondhands0 Jun 3, 2024
0f27eef
Exclude PoW Txns from PoS Mempool (#1346)
tholonious Jun 3, 2024
ff119b9
Use TxnVersion Comparison to Filter Utxo Model Txns From PoS Fee Etim…
tholonious Jun 3, 2024
d2b530a
V0 logging level for processing blocks (#1358)
lazynina Jun 4, 2024
6a71496
Revert "Replace usage of uint256.NewInt(0).SetUint64(xx) with uint256…
tholonious Jun 4, 2024
5a8c92f
Revert "Upgrade all deps (#1163)" (#1352)
tholonious Jun 5, 2024
c0d781f
Revert "Upgrade go to 1.22 (#1190)" (#1353)
tholonious Jun 5, 2024
ad79f13
Revert "Use Sign instead of comparing big ints to 0 (#1228)" (#1361)
lazynina Jun 6, 2024
3efe219
Revert "Add BigIntFromUint64 helper (#1227)" (#1362)
lazynina Jun 6, 2024
8a6e70f
Revert Badger version from v4 to v3 (#1363)
tholonious Jun 6, 2024
3fe7c30
Revert errors.Is(...) Usage (#1364)
tholonious Jun 6, 2024
8df2943
Remove Redundant Error Check After NewUtxoView (#1365)
tholonious Jun 10, 2024
1d271b4
Remove DatabaseCache Update in DBGetWithTxn (#1367)
tholonious Jun 10, 2024
f6280fe
Save snapshot status (#1368)
lazynina Jun 13, 2024
a001099
Fix issue with incorrect field being passed via post state change met…
superzordon Jun 13, 2024
44266a1
Set mainnet fork heights for pos (#1372)
lazynina Jun 17, 2024
89d5df3
Reject PoW Blocks After Final PoW Height (#1371)
tholonious Jun 17, 2024
526edff
Fix PoW Block Rejection For When PoS Cutover is Hit (#1373)
tholonious Jun 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ quick_testing
dump_txns
compare_blocks.go
backend
core

.idea
.vscode

local_scripts/*
lib/mem.log
25 changes: 17 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
FROM alpine:latest AS core

RUN apk update && apk upgrade
RUN apk add --update go gcc g++ vips vips-dev
RUN apk add --update bash cmake g++ gcc git make vips vips-dev

COPY --from=golang:1.20-alpine /usr/local/go/ /usr/local/go/
ENV PATH="/usr/local/go/bin:${PATH}"

WORKDIR /deso/src/core

Expand All @@ -10,15 +13,21 @@ COPY go.sum .

RUN go mod download

COPY desohash desohash
COPY cmd cmd
COPY lib lib
COPY migrate migrate
COPY test_data test_data
COPY main.go .
COPY bls bls
COPY cmd cmd
COPY collections collections
COPY consensus consensus
COPY desohash desohash
COPY lib lib
COPY migrate migrate
COPY scripts scripts
COPY test_data test_data
COPY main.go .

RUN ./scripts/install-relic.sh

# build backend
RUN GOOS=linux go build -mod=mod -a -installsuffix cgo -o bin/core main.go
RUN GOOS=linux go build -mod=mod -a -installsuffix cgo -o bin/core -tags=relic main.go

# create tiny image
FROM alpine:edge
Expand Down
Loading
Loading