parazyd
84caaf2c3a
runtime: Add wasm bincode to WasmStore after successful deploy execution.
2022-11-16 14:26:37 +01:00
parazyd
337f80361d
blockchain: Add WasmStore and rename ContractStore to ContractStateStore.
2022-11-16 14:26:37 +01:00
parazyd
05befe509b
sdk: Remove address module.
2022-11-16 14:26:37 +01:00
parazyd
e622aac09e
wallet: Abstract away walletdb, the extensions should be implemented with traits.
2022-11-16 14:26:37 +01:00
parazyd
ba0dccdafe
consensus: Move constants into own module.
2022-11-16 14:26:37 +01:00
parazyd
99f08cc8f5
sql: Remove obsolete darkpulse schema.
2022-11-16 14:26:37 +01:00
parazyd
cc8a046242
sql: Remove obsolete cashier schemas.
2022-11-16 14:26:37 +01:00
parazyd
ff5d31ca3d
consensus: Begin leadcoin API cleanup.
2022-11-16 14:26:37 +01:00
aggstam
87369b917b
consensus: constant eta through epoch
2022-11-16 14:22:39 +02:00
lunar-mining
5ac3d9b501
book: correct naming on architecture/ tooling
2022-11-16 13:22:29 +01:00
lunar-mining
350ce7050a
book: delete architecture/layers
2022-11-16 13:12:34 +01:00
parazyd
cea573071b
tx2: Initial stub for contract transaction type.
2022-11-15 22:50:36 +01:00
parazyd
72f345e6de
contrib: Add script for attaching missing license headers to .rs files.
2022-11-15 22:14:28 +01:00
parazyd
8b648874d5
zk/vm: Shorten From impls with a macro.
2022-11-15 21:16:39 +01:00
parazyd
371011959c
contract/money: Add no-entrypoint feature needed for composing contracts.
2022-11-15 20:37:43 +01:00
parazyd
ef9c4d3c52
contract/money: Add note about ZKAS_TREE.
2022-11-15 20:10:53 +01:00
parazyd
a7271ff600
contract/money: Add spend_hook and user_data + doc.
2022-11-15 20:07:49 +01:00
parazyd
fe611fbbcd
consensus: Deploy native money contract on startup.
2022-11-15 19:33:34 +01:00
aggstam
8a60502a2f
consensus/metadata: added coin serial and new coin public inputs
2022-11-15 20:30:22 +02:00
parazyd
83a380b080
contract/money: Redeployment logic error handling in init.
2022-11-15 18:56:01 +01:00
parazyd
17e5d01b18
sdk/db: Constant error codes for db
2022-11-15 18:56:01 +01:00
aggstam
60c33e4734
consensus/state/epoch_changed(): update consensus.epoch on epoch change
2022-11-15 18:34:00 +02:00
parazyd
f46000ecbd
dao2: cargo fmt
2022-11-15 17:27:05 +01:00
parazyd
16178af767
contract/money: Initial outline in src/contract/money.
2022-11-15 17:26:20 +01:00
parazyd
9c0a0e1c10
runtime: Add db.contains_key functionality.
2022-11-15 17:10:54 +01:00
aggstam
1479b2cb62
consensus/state: updated finalization logic
...
Leader extends their longest fork chain. Finalization: when obverving extension 3 times, if no other fork exists at same or greater height(length) finalize all proposals up to the last one. Rest fork chains not starting by last finalized block are getting chopped.
2022-11-14 20:55:42 +02:00
aggstam
7bcc75b65e
consensus/BlockProposal: added header as part of struct
...
This was done so we can execute faster validations, as previously we were using proposal.block.header.headerhash() each time, which serialized the header and produced a blake3 hash.
2022-11-14 20:01:08 +02:00
mohab metwally
33e6d260f9
fix blockchain.md
2022-11-14 19:17:19 +02:00
TG × ⊙
7c06a2e32e
nix flake: add dashu hash
2022-11-13 09:35:36 +00:00
spital
abb1262f38
Bump up rust version to 1.65 in Dockerfiles and fix typos, builds passed
2022-11-13 09:35:20 +00:00
parazyd
9f66dc36ae
example/less_than: Fix simple issue.
2022-11-10 11:21:33 +01:00
ghassmo
acd16ee999
script/research/event_graph: a little change in the implementation
2022-11-10 10:21:28 +04:00
aggstam
5f072d1c7f
p2p/settings: rustdoc added
2022-11-08 15:55:35 +02:00
x
5d9c2e0082
dao2: add lil todo note for self
2022-11-08 13:24:08 +00:00
x
f033857f23
dao2: dao now receives money
2022-11-08 13:22:20 +00:00
x
52561406f7
dao2: money correctly saving and updating its own state
2022-11-08 13:10:31 +00:00
x
2fe6425ecf
dao2: working signature checking
2022-11-08 12:48:48 +00:00
x
a32d72754b
dao2 verify zk proofs
2022-11-08 12:41:06 +00:00
x
3554f3a70b
dao: construct signatures for tx
2022-11-08 12:04:15 +00:00
x
37345a3124
money transfer build complete
2022-11-08 11:52:10 +00:00
x
a42eb406ad
upgrade to new token API
2022-11-08 11:40:26 +00:00
x
a6a76ffc4a
wallet::money::transfer::Builder::build() creates an object of type MoneyTransferParams
2022-11-08 11:27:43 +00:00
parazyd
c1b2c2af5a
Update crate dependencies
2022-11-08 12:17:25 +01:00
parazyd
745389c400
Simplify project system dependencies.
2022-11-08 12:17:24 +01:00
parazyd
f062a2bbe9
Apply new TokenID API throughout codebase.
2022-11-08 11:35:31 +01:00
parazyd
2a7e95f9a2
Remove token_list module. This should not be part of the core lib.
...
Instead, nodes, consensus, etc. should be agnostic and just use TokenId.
Token lists are something that can be used client-side for convenience.
2022-11-08 08:48:21 +01:00
parazyd
e6455facb7
Migrate more crypto API to sdk
2022-11-07 22:27:24 +01:00
parazyd
aa49a4c650
sdk: Add poseidon utility function and ContractId derivation.
2022-11-07 15:39:30 +01:00
x
0a25b569bf
dao2: final part of DAO::mint() wallet interaction
2022-11-07 09:48:49 +00:00
x
b25206d97a
dao2: improve diagnostic show_*_state() functions
2022-11-07 09:31:40 +00:00