Commit Graph

7464 Commits

Author SHA1 Message Date
parazyd
64ef7c9634 validator: Implement basic tx fee validation 2023-12-19 18:01:44 +01:00
parazyd
6e64c6df19 contract/money/fee: Hold the paid fee out of MoneyFeeParams
This will allow us to easily deserialize it in the validator.
2023-12-19 18:00:53 +01:00
parazyd
0231beba7f validator: Add placeholder for tx fee enforcement 2023-12-19 17:26:26 +01:00
parazyd
7de072f0cd contract/deployooor: Avoid unnecessary db key serialization 2023-12-19 17:12:09 +01:00
parazyd
c8ee6e4af2 contract/consensus: Avoid unnecessary db key serialization 2023-12-19 17:12:09 +01:00
parazyd
349fd7a854 contract/dao: Avoid unnecessary db key serialization 2023-12-19 17:12:08 +01:00
parazyd
8690575c43 contract/money: Avoid unnecessary db key serialization 2023-12-19 17:12:08 +01:00
parazyd
66de7f91ee contract/money: Implement tx fee functionality 2023-12-19 16:54:41 +01:00
x
e5e105ca40 update darkirc README 2023-12-19 13:27:11 +00:00
x
f1f3efa62d book: add section on scoring subsystem 2023-12-19 11:58:11 +00:00
Dastan-glitch
3fafd85d3c bin/tau: more informative connection error with daemon 2023-12-19 06:06:50 +03:00
Dastan-glitch
c1f4c92130 book: update Event to have layer field 2023-12-19 05:58:27 +03:00
lunar-mining
3c6364644a doc: p2p-network.md hostlisets upgrade status update 2023-12-19 00:13:09 +01:00
aggstam
f4728be9c0 sdkr/dark_tree: further constrain flatten vec checks 2023-12-18 18:30:58 +02:00
aggstam
e13fba6a9f contracts: use proper indexes in dao calls 2023-12-18 16:45:41 +02:00
aggstam
5711ea1370 contracts: use proper indexes in money and consensus calls 2023-12-18 16:35:06 +02:00
aggstam
a84a3e3f70 contracts: use DarkLeaf in calls vec 2023-12-18 16:35:06 +02:00
aggstam
e7857b0a30 darkfid2/task/miner: integrated new TransactionBuilder to miner tx 2023-12-18 16:35:06 +02:00
aggstam
11657ca7bb contract/test-harness: integrated new TransactionBuilder to dao builders 2023-12-18 16:35:06 +02:00
aggstam
9d8fdb0c3a contract/test-harness: integrated new TransactionBuilder to consensus and money builders 2023-12-18 16:35:06 +02:00
aggstam
d958bafdf4 validator/verification: validate contract calls vector indexes 2023-12-18 16:35:06 +02:00
aggstam
bd86ce5678 tx: use DarkLeaf<ContractCall> in tx calls vec 2023-12-18 16:35:06 +02:00
aggstam
b7cd8d3878 sdkr/dark_tree: add corresponding traits for integration 2023-12-18 16:35:06 +02:00
aggstam
bd3a32ee18 tx: TransactionBuilder created to generate txs using DarkTree 2023-12-18 16:35:06 +02:00
aggstam
051311507d dark-tree: moved from script/research/dark-forest into src/sdk 2023-12-18 16:35:06 +02:00
x
6bb313db3d dao: change proposals to new composable format 2023-12-18 15:01:14 +00:00
x
17ebdf3aa9 book: minor edit 2023-12-18 12:37:53 +00:00
x
fab18bcb61 cargo fmt 2023-12-18 12:30:09 +00:00
x
39499ac2d7 dao: cleanup by introducing the CoinParams -> Coin, Dao -> DaoBulla, and Proposal -> ProposalBulla paradigm. use consistently throughout the builders. 2023-12-18 12:23:34 +00:00
Dastan-glitch
7529e4a655 src/event_graph: use dag_get() method 2023-12-18 05:20:57 +03:00
Dastan-glitch
54108b7513 bin/genev: update tmux test script 2023-12-18 05:18:39 +03:00
Dastan-glitch
a6aa24920e bin/genev: update event_graph synced flag when we skip sync 2023-12-18 05:17:58 +03:00
aggstam
d52ac5975c script/research/dark-forest: use wrapper struct for DarkLeaf in DarkTree so flattened vector don't contain node's index 2023-12-15 15:26:55 +02:00
x
2cb4de0c7b amend DEP0001, add optional ext_send_addr and specify conditions. 2023-12-15 13:02:51 +00:00
aggstam
9c0eccba63 script/research/dark-forest: tree flattening to vector of leafs added, along with vector integrity check function 2023-12-14 16:27:37 +02:00
aggstam
9bcc383b8e script/research/dark-forest: min capacity logic added, to double bound the tree 2023-12-14 14:54:30 +02:00
parazyd
a94858174a darkirc: Only build the rust bin with the make target 2023-12-14 12:05:38 +01:00
parazyd
44805ef45d book/dev: Document native musl builds 2023-12-14 11:52:48 +01:00
Dastan-glitch
c3f0ef5577 bin/tau: update event_graph synced flag when we skip sync 2023-12-14 11:45:33 +01:00
aggstam
aac6b2c6c2 darkirc: update event_graph synced flag when we were already on latest tip 2023-12-14 11:45:33 +01:00
aggstam
b1821df428 darkirc: update event_graph synced flag when we skip sync 2023-12-14 11:45:32 +01:00
aggstam
cdaddfbfe2 event_graph: introduce layers to the DAG
Each event corresponds to a specific layer(height) in the dag, making identifying and preventing cycles way easier, as all parents must exist in previous layers. Additionally, propagation and sync gremlins have been eliminated, and proper validations added
2023-12-14 11:45:32 +01:00
parazyd
01c883b0d4 darkfid: Improve code style of RequestHandler 2023-12-14 08:52:48 +01:00
parazyd
82c7ef4e0c darkfid: Add merge_mining_get_chain_id RPC method. 2023-12-14 08:49:54 +01:00
parazyd
0aba4e7864 chore: fmt 2023-12-13 12:01:09 +01:00
parazyd
b48b58af03 chore: Clippy lints 2023-12-13 10:20:38 +01:00
parazyd
b23021e3a1 chore: Update crate dependencies 2023-12-13 10:14:43 +01:00
lunar-mining
53d4520e91 doc/ p2p-network.md: add monero source paper and some final formatting 2023-12-12 12:54:36 +01:00
lunar-mining
3967946074 doc/ p2p-network.md: fix typo 2023-12-12 12:39:28 +01:00
lunar-mining
e6c23df599 doc/ p2p-network.md: minor fixes 2023-12-12 12:35:22 +01:00