Commit Graph

8072 Commits

Author SHA1 Message Date
skoupidi
34b750dc5e minerd: moved from script/research into bin 2024-02-13 13:45:13 +02:00
skoupidi
38a83c8b40 darkfid: renamed consensus_p2p to miners_p2p 2024-02-13 13:45:13 +02:00
skoupidi
6de4869bec darkfid: removed obselete protocol_block 2024-02-13 13:45:13 +02:00
dasman
ea50f9ac5e bin/tau: remove commented code 2024-02-12 23:28:51 +03:00
dasman
e8ce57e81c bin/tau: add default hostlist path 2024-02-12 23:27:48 +03:00
skoupidi
7f0f954671 blockchain/header: removed redundant epoch number 2024-02-12 13:07:19 +02:00
zero
0d7d306a70 book/consensus: add formalization about fork rankings always increasing 2024-02-12 11:33:42 +01:00
zero
485bec0471 book: correct typo 2024-02-12 11:02:06 +01:00
draoi
5dcf458864 doc: fix doc/src/arch/consensus.md
* reimplement changes from 68c9bc8418
  overwritten by merge

* fix mistake in ranking algo

* last block renamed to last-n-block (n-1 block is previous block)
2024-02-11 16:51:34 +01:00
draoi
f2666e77bc doc: small tweaks doc/src/arch/consensus.md 2024-02-11 16:03:52 +01:00
draoi
26a7b352ed doc: fmt doc/src/arch/consensus.md 2024-02-11 16:03:52 +01:00
draoi
be7ce54770 doc: proofedit doc/src/arch/consensus.md 2024-02-11 16:03:50 +01: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
f04a44d255 chore: Clippy lints 2024-02-11 12:15:35 +01:00
parazyd
98521da0de contract/dao: Integration test port 2024-02-11 12:15:35 +01:00
skoupidi
260a0d99d8 doc/arch/consensus: vrf proof info added 2024-02-11 13:13:34 +02:00
skoupidi
1eaf5fae35 .github/workflows: temporary workaround for nightly build 2024-02-11 12:59:55 +02:00
skoupidi
7155548f45 Revert "chore: cargo update"
This reverts commit 67216e14fe.
2024-02-11 12:46:05 +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
draoi
67216e14fe chore: cargo update 2024-02-11 10:02:52 +01:00
zero
e6bf38d0aa book: fix broken include links 2024-02-11 09:19:19 +01:00
skoupidi
d376d2d43a contract/money/tests/integration: fixed failing test due to erroneous VRF parameters 2024-02-10 23:11:00 +02:00
parazyd
f4c3a059f3 contract/test-harness: Remove airdrop module. 2024-02-10 19:36:55 +01:00
parazyd
c7ea1a2c08 contract/dao: Clippy lints 2024-02-10 19:33:15 +01:00
parazyd
09e7475d58 contract/test-harness: Add a generate_block() function.
This is supposed to be used whenever we want a Holder to produce
a block and receive the mining reward.

As part of the integration test, it will test PoWReward functionality.
2024-02-10 19:30:02 +01:00
parazyd
f007d1a732 contract/money: Remove pow-reward test
This is now to be done through the integration test.
2024-02-10 19:23:44 +01:00
parazyd
7d95c7f09e contract/money: WIP pow-reward test port 2024-02-10 11:36:34 +01:00
parazyd
882c7da804 contract/money: Add malicious test case for genesis-mint 2024-02-10 11:36:34 +01:00
skoupidi
8eef36b898 blockchain/header: changed nonce from pallas::Base to u64 2024-02-10 12:06:38 +02:00
parazyd
9c44bfb9ed contract/money: Delete redundant tests 2024-02-10 09:17:15 +01:00
parazyd
a8297adbf4 contract/money: Port token-mint test 2024-02-10 09:17:15 +01:00
skoupidi
3e7bc53af0 doc: removed faucetd references 2024-02-09 20:21:39 +02:00
skoupidi
47b0e2905f doc/arch: removed pos related stuff and added a high level description of PoW logic 2024-02-09 20:17:17 +02:00
skoupidi
01f88db53b drk: cleaned up all slot references 2024-02-09 17:43:34 +02:00
skoupidi
eaecebf47c darkfid: cleaned up all slot references 2024-02-09 17:30:50 +02:00
skoupidi
d81be20ec1 src/error.rs: minor cleanup 2024-02-09 17:20:04 +02:00
skoupidi
b30c20379c darkfid: integrated latest changes 2024-02-09 16:31:12 +02:00
skoupidi
1d82f5c260 README: development nightly notes improved 2024-02-09 16:30:54 +02:00
parazyd
2125cf7c98 contract/test-harness: Append missing proof to vks 2024-02-09 15:14:39 +01:00
parazyd
427dbce106 contract/money: Port mint-pay-swap test 2024-02-09 15:13:22 +01:00
parazyd
e3b785a986 contract/money: Port integration test 2024-02-09 14:44:02 +01:00
parazyd
23abd8c526 contract/money: Port genesis-mint test 2024-02-09 14:37:45 +01:00
parazyd
7e27171719 contract/deployooor: Port tests to updated test-harness 2024-02-09 14:23:26 +01:00
parazyd
2d06c44cc0 bin/faucetd: Remove code.
This is now obsolete.
2024-02-09 14:21:28 +01: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
2f7c4b4e17 contract/money: Implement std::hash::Hash for OwnCoin 2024-02-09 13:51:10 +01:00
parazyd
c7f287d4bd contract/money: Add FEE_CALL_GAS constant, and export some structs 2024-02-09 13:51:09 +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