zero
0967744635
runtime: add tx_hash to runtime params
2024-04-01 11:59:17 +02:00
zero
5c9e3bd4a1
tx: change tx.hash() -> Result<blake3::Hash> to tx.hash() -> TransactionHash, by calling .unwrap() on blake3 hasher. This should be safe (see code comment in tx/mod.rs:188 inside fn hash() )
2024-04-01 11:59:17 +02:00
skoupidi
8871f0898d
validator: eat ze bugs
2024-03-23 19:50:40 +02:00
skoupidi
b70ade1922
validator: permanently store ranks as blockchain expands
2024-03-22 20:19:44 +02:00
skoupidi
c15facda1c
validator: fixed not saving PoW module updates to db
2024-03-21 20:54:40 +02:00
skoupidi
23d49cd158
validator: use sled-overlay add diff functionality to rebuild forks
2024-03-21 16:27:39 +02:00
skoupidi
269cffbd1c
validator: purge unreferenced trees from sled when reseting forks
2024-03-21 15:37:25 +02:00
skoupidi
696bc213a0
validator: fixed stupid mistake
2024-03-19 18:02:05 +02:00
skoupidi
41c9bd28ba
validator: updated sled-overlay version and use new diffs logic for finalization
2024-03-19 16:47:33 +02:00
hishope
bd456cb839
chore: fix some typos
...
Signed-off-by: hishope <csqiye@126.com >
2024-03-15 09:53:37 +01:00
zero
376784af2e
zkas/zk: add sparse_tree_is_member() opcode
2024-03-09 13:10:14 +01:00
skoupidi
e8d5b312aa
validator: clippy chore | darkfid/task/miner: minor logs added
2024-03-08 15:38:33 +02:00
parazyd
1297ff7b07
src/time: Implement and use {over,under}flow-safe API
2024-03-07 12:35:21 +01:00
skoupidi
7010aae22e
validator: changed ranking logic
2024-03-04 21:05:53 +02:00
skoupidi
ed8e485575
validator: changed consensus finalization logic
2024-03-01 22:00:05 +02:00
skoupidi
d7495510dd
darkfid: better locks handling and minor code improvements
2024-02-29 14:54:19 +02:00
skoupidi
ed96c06adb
darkfid: ask peers if they are synced on sync task
2024-02-23 15:28:33 +02:00
skoupidi
cff856971d
darkfid: consensus fixes
2024-02-22 17:52:56 +02:00
skoupidi
5e9892363a
validator: changed block ranking logic
2024-02-22 15:38:54 +02:00
skoupidi
0de966c9c7
darkfid: forks sync logic implemented
2024-02-21 13:27:22 +02:00
parazyd
6002324810
validator/utils: Add FIXME note about dangerous code
2024-02-20 15:47:34 +01:00
skoupidi
6de4869bec
darkfid: removed obselete protocol_block
2024-02-13 13:45:13 +02:00
skoupidi
7f0f954671
blockchain/header: removed redundant epoch number
2024-02-12 13:07:19 +02:00
parazyd
68c9bc8418
consensus: Use BigUint for block ranking to obtain higher resolution
2024-02-11 13:08:59 +01:00
skoupidi
6916cff694
validator/consensus: fork rank logic minor optimization
2024-02-11 14:08:13 +02:00
parazyd
8c2a7c65a1
contract/money: Final integration test fixes
...
Signed-off-by: parazyd <parazyd@dyne.org >
2024-02-11 11:26:50 +01:00
skoupidi
8eef36b898
blockchain/header: changed nonce from pallas::Base to u64
2024-02-10 12:06:38 +02:00
parazyd
a516ec90e0
Fixup rebase artifacts
2024-02-09 14:15:47 +01:00
parazyd
8828438d8f
contract/test-harness: Cleanup and addition of tx fees.
2024-02-09 13:57:14 +01:00
parazyd
00aefdded5
contract/money: Faucet cleanup
...
This removes clear inputs from Money::Transfer, and removes all faucet
references in the code.
Additionally, in src/validator/ we use the ValidatorConfig struct
directly, rather than using the ValidatorConfig::new() function.
2024-02-09 13:50:29 +01:00
skoupidi
72526ed18c
validator: improved uproposed txs retriaval logic
2024-02-08 17:13:01 +02:00
skoupidi
2ce7f38880
validator: producer tx on last instead of first position in block txs vector and proper header Merkle tree validation
2024-02-08 15:44:41 +02:00
skoupidi
2dc6832656
validator: removed genesis tx total calculation | darkfid: use next block height for contracts deployment
2024-02-07 13:42:00 +02:00
skoupidi
7ac561fe67
util/time: TimeKeeper yeeted
2024-02-06 16:44:28 +02:00
skoupidi
f79bd2de18
sdk, blockchain, validator: removed slot stuff
2024-02-01 19:18:42 +02:00
skoupidi
2805f1435c
validator: fixed minor encoding/decoding bugs
2024-02-01 14:04:36 +02:00
skoupidi
3e15d146a3
validator/consensus: cleaned up slots logic
2024-02-01 13:31:29 +02:00
skoupidi
4c45c8d592
validator: cleaned up verification and validations methods and merged the two files
2024-01-31 20:21:08 +02:00
skoupidi
ccc3a8e3a7
blockchain/header: derive block version using sdk block_version fn
2024-01-31 19:14:55 +02:00
skoupidi
3355575721
runtime: replaced timekeeper with verifying block height directly
2024-01-31 14:22:51 +02:00
skoupidi
f64c4e5750
contract/*: renamed all slot references to block height
2024-01-30 21:27:46 +02:00
skoupidi
16103b84a7
Night of the living dead
2024-01-29 21:41:01 +02:00
parazyd
2305faefb4
validator/verification: Return an Error if there are failing txs in verifying sets
2024-01-23 12:35:01 +01:00
parazyd
02e1885d40
validator/verification: Account for ZK proof verification cost when verifying tx fee
2024-01-19 14:21:41 +01:00
parazyd
3cb838daeb
validator/fees: Add gas use calculator for ZK circuits
2024-01-19 14:10:13 +01:00
parazyd
36315f09fd
validator: Add TODO note about RAM usage for circuit VKs
2024-01-19 13:03:38 +01:00
parazyd
f733f094e7
validator: Account for Schnorr signature verification for fees in txs
2024-01-19 12:59:02 +01:00
parazyd
7b42b1c1e2
validator/verification: Fix tx fee call index
2024-01-19 11:56:06 +01:00
parazyd
0e6f51e895
chore: Update copyright year in license headers
2024-01-16 13:07:22 +01:00
parazyd
511b072c25
validator/verification: Allow fee call at any place in the transaction
2024-01-15 15:58:08 +01:00