skoupidi
|
bd554cced1
darkfid: network reorg trigger added
|
1 year ago |
skoupidi
|
233407d001
validator: renamed GasData fields
|
1 year ago |
kalm
|
693911070b
validator: introduce FeeData struct representing fee related data
|
1 year ago |
skoupidi
|
66dfc9c95d
validator: reset to height functionality added, using blocks reverese diffs
|
1 year ago |
skoupidi
|
6a39547118
chore: clippy too_long_first_doc_paragraph fixed almost everywhere
|
1 year ago |
skoupidi
|
130582d6a9
Cargo.toml: updated sled-overlay version
|
1 year ago |
skoupidi
|
97820d7301
darkfid: fixed some sync issues
|
2 years ago |
skoupidi
|
235ba3f644
darkfid: purge current forks on network dc
|
2 years ago |
skoupidi
|
82a56cd2c2
validator: properly handle gas limit checks
|
2 years ago |
kalm
|
cff9d0e7f5
validator/consensus: gas-based limit for unproposed transactions retrieval
|
2 years ago |
skoupidi
|
43f9fc8aa1
runtime: get_block_target() fn added, to retrieve current block time target(seconds)
|
2 years ago |
parazyd
|
871d89a3e9
net/transport: Add experimental Tor hidden service support
|
2 years ago |
skoupidi
|
5f5cfbafa8
validator: random tx handling fixes
|
2 years ago |
skoupidi
|
73a159ef83
contract/money: properly integrate txs fees into block rewards
|
2 years ago |
skoupidi
|
80044e306f
darkfid: fully configurable fees verification
|
2 years ago |
skoupidi
|
c208ba4442
validator: better erroneous and unreferenced penging txs handling
|
2 years ago |
skoupidi
|
12efdd87f3
darkfid: use proposals/consensus logic while syncing
|
2 years ago |
skoupidi
|
9f5e6aafc4
blockchain: changed block height from u64 to u32
|
2 years ago |
skoupidi
|
930a511309
blockchain: major hashes cleanup
|
2 years ago |
zero
|
c781936b12
replace usage of blake3::Hash for tx hashes with TransactionHash type. Change all occurances of `let txs: Vec<blake3::Hash> = block.txs.iter().map(|x| blake3::hash(&serialize(x))).collect();` to `let txs: Vec<TransactionHash> = block.txs.iter().map(|tx| tx.hash()).collect();`
|
2 years ago |
skoupidi
|
70aeb839f5
blockchain/tx_store: unified main tree with the pending tree into single store structure
|
2 years ago |
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() )
|
2 years ago |
skoupidi
|
b70ade1922
validator: permanently store ranks as blockchain expands
|
2 years ago |
skoupidi
|
c15facda1c
validator: fixed not saving PoW module updates to db
|
2 years ago |
skoupidi
|
23d49cd158
validator: use sled-overlay add diff functionality to rebuild forks
|
2 years ago |
skoupidi
|
269cffbd1c
validator: purge unreferenced trees from sled when reseting forks
|
2 years ago |
skoupidi
|
696bc213a0
validator: fixed stupid mistake
|
2 years ago |
skoupidi
|
41c9bd28ba
validator: updated sled-overlay version and use new diffs logic for finalization
|
2 years ago |
hishope
|
bd456cb839
chore: fix some typos
|
2 years ago |
parazyd
|
1297ff7b07
src/time: Implement and use {over,under}flow-safe API
|
2 years ago |