Boog900
bb2292289f
consensus: organize tests
2024-01-19 00:35:22 +00:00
Boog900
40e64cc9c3
integrate RandomX, plus some other misc changes.
2024-01-05 22:36:57 +00:00
Boog900
5d6fb3f6b9
integrate ringCT rules into the RPC scanner.
2023-12-27 23:50:18 +00:00
Boog900
b0588fad2b
change cuprate-consensus to use monero-consensus
2023-12-17 14:27:06 +00:00
Boog900
34dd105a0c
make CI more strict
2023-12-03 00:29:12 +00:00
Boog900
f3d96ca2ce
move more tasks to rayon and change some returned
...
futures to be explicit instead of Boxed
2023-12-02 22:57:34 +00:00
Boog900
343e979e82
Use a connection task for RPC connections.
2023-11-18 14:00:33 +00:00
Boog900
484b418faf
add batch preparing for blocks.
2023-11-11 01:55:15 +00:00
Boog900
fc7b676f7b
consensus: add a tx pool trait.
...
This means we don't have to rely on people giving the verifier the correct txs for a block.
Also allows some speedup as we can put the fetching of outputs on a different task.
2023-11-05 18:44:41 +00:00
Boog900
3a52b346e1
add tests to context sub-services + fix issues in other tests
...
+ fmt + clippy.
2023-10-29 00:39:58 +01:00
Boog900
b727062e97
finish rules for v1 txs - clean up is needed
2023-10-24 20:18:46 +01:00
Boog900
eeefe49d63
add block/ tx verifier svc
2023-10-23 19:14:40 +01:00
Boog900
50f9458528
move hardforks, weights and pow cache to single context
with unified API
2023-10-22 17:27:37 +01:00
Boog900
387278b821
add more consensus rules.
2023-10-20 01:04:26 +01:00
Boog900
21f1448343
add more config options for the verifier
2023-10-15 20:35:33 +01:00
Boog900
20f6af7951
use get_blocks_by_height.bin
in RPC
2023-10-05 17:54:19 +01:00
Boog900
f60bb1a678
init scan chain code
2023-10-04 14:50:13 +01:00
Boog900
d5595b7eaf
add logic to build all caches synchronously
2023-10-03 22:10:31 +01:00
Boog900
eb3c727b4d
add effective median weight calculations
...
+ more rpc speedup for the rest of the consensus lib
2023-10-02 21:07:11 +01:00
Boog900
d7798328b6
consensus: add block weight calculations + rcp speedup
...
Instead of asking for one block at a time, we ask for batches of blocks, which significantly speeds up getting blocks.
2023-09-28 12:21:06 +01:00
Boog900
ab3c496bbd
add difficulty calculations
2023-09-06 15:54:49 +01:00
Boog900
a56d8ea87f
fetch block headers in parallel and support multiple rpc endpoints
...
this significantly speeds up initiating the hardfork struct
2023-09-05 19:13:46 +01:00
Boog900
2f08978e67
init consensus rules crate
2023-09-03 23:50:38 +01:00