Commit Graph

271 Commits

Author SHA1 Message Date
parazyd
84bf94d856 runtime: Cleanup and add payload support to init() 2022-11-04 10:35:29 +01:00
x
87be69f103 wasm: add example passing tx into state_transition() 2022-11-04 04:25:52 +00:00
x
92b2cd1e02 wasm: add example db usage to example/smart-contract/src/lib.rs 2022-11-04 03:46:28 +00:00
Dastan-glitch
daeb250c13 example/dao: use chacha20poly1305 crate for note encryption 2022-11-04 05:29:24 +03:00
Dastan-glitch
0f28415473 example/dao: rename dao.rs to main.rs and add it to example workspace 2022-11-04 05:26:35 +03:00
x
5ffdb1beb9 wasm: alloc pages for apply() 2022-11-04 00:16:13 +00:00
parazyd
7d233c5bbf runtime: State update apply 2022-11-04 00:01:02 +01:00
x
66198e60a6 begin to add full darkfi smart contract functionality 2022-11-03 21:04:56 +00:00
parazyd
867b1bb7a3 example/smart-contract: Update Cargo.lock 2022-11-03 10:28:00 +01:00
x
48f1a86d58 wasm add comment 2022-11-03 08:46:06 +01:00
x
a0c61641cf general cleanup and re-enabling of earlier disabled features. 2022-11-03 08:46:05 +01:00
x
abc907ba2b remove state from entrypoint params 2022-11-03 08:45:18 +01:00
x
f35fd6ab96 (semi-)working wasm contract 2022-11-03 08:43:20 +01:00
x
6668ff238b get wasm code compiling with wasmer3.0.0-beta. doesn't work yet 2022-11-03 08:36:53 +01:00
mohab metwally
61363b450f [zk/circuit/lead_contract] integrate optimized lead circuit 2022-11-02 21:57:59 +02:00
parazyd
8ae84ad7f9 Add license header to source files. 2022-10-31 18:16:13 +01:00
Luther Blissett
43a871c3f2 Update all Cargo.toml files to include AGPL license reference. 2022-10-30 11:01:40 +01:00
lunar-mining
29cfa5dc3c book: update broken link. run cargo fmt 2022-10-27 08:40:54 +02:00
mohab metwally
149aaaf465 [zk/circuits/lead_contract] replace constrain instance for coin2 commit, and serial number with constrain equal 2022-10-26 22:22:43 +02:00
x
e46ce80bd3 fix smart contract test so it compiles 2022-10-25 10:45:28 +00:00
Dastan-glitch
034664d5f3 move example/dao/schema (python dao schema)to script/research/dao 2022-10-24 15:15:21 +03:00
Dastan-glitch
32456baf7a example/dao: re-add python dao schema 2022-10-24 13:29:14 +03:00
Dastan-glitch
3a68228897 example/crypsinous: fix p2p and syncing issue 2022-10-24 04:02:20 +03:00
mohab metwally
852c89d917 [ouroboros] organize order of background execution 2022-10-21 19:25:48 +02:00
lunar-mining
22151f6b7a book/dchat: use anchors where possible, copy paste code where not.
also run cargo fmt.
2022-10-20 12:02:04 +02:00
aggstam
49b6582930 dchat: enabled localnet 2022-10-19 14:03:30 +03:00
Dastan-glitch
d001ebf28a example/dao: remove unused imports 2022-10-17 17:02:48 +03:00
Dastan-glitch
c035ba4744 example/dao: rename foo_contract to foo and update imports 2022-10-17 07:09:55 +03:00
Dastan-glitch
05f554fe4d move dao/schema.rs to example (dao) 2022-10-17 06:30:04 +03:00
Luther Blissett
62d1f06c1f Update imports for type migrations. 2022-10-17 00:34:34 +02:00
Dastan-glitch
c0c97337d7 resolve conflicts merging dao_demo 2022-10-16 02:50:59 +03:00
Luther Blissett
2ca5866c43 Fix tests compilation 2022-10-15 20:30:21 +02:00
aggstam
e5bfd44c74 consensus/ouroboros: fixed tests, fmt, removed db folder 2022-10-15 21:03:29 +03:00
mohab metwally
665f48f281 [ouroboros] under consensus 2022-10-15 19:03:14 +02:00
mohab metwally
964e2dce48 [crypsinous]organize epoch consensus 2022-10-15 18:40:11 +02:00
mohab metwally
6b83239db6 merge conflicts 2022-10-15 14:23:27 +02:00
lunar-mining
488f915bf7 dao_demo: renamed dao_schema_rs to dao and made python code a subdir 2022-10-15 10:17:44 +02:00
aggstam
dc4e64e355 add missing smol deps. 2022-10-14 20:31:35 +03:00
Luther Blissett
12b7419c10 example/smart-contract: Cleanup 2022-10-14 03:25:55 +02:00
Luther Blissett
4adb6d1c67 node/state: Implement temporary dummy state function. 2022-10-14 02:29:52 +02:00
Luther Blissett
9865b21a28 crypto: Stricter API for nullifier and secretkey. 2022-10-14 02:29:51 +02:00
Luther Blissett
ada09adde8 example/smart-contract: Nullifier lookup in state. 2022-10-14 02:29:31 +02:00
mohab metwally
fca2e499a6 [clock] moved clock to consensus 2022-10-10 11:58:17 +02:00
Luther Blissett
3539a77584 serial: WIP enum (de)serialization. 2022-10-07 03:16:22 +02:00
Luther Blissett
c769fd42ec Update dependency versions and remove env_logger dep. 2022-10-07 00:58:48 +02:00
aggstam
78b291c6ed example/lead.rd: fixed unresolved import 2022-10-06 21:12:10 +03:00
Luther Blissett
88abda32ce make fix and cargo fmt. 2022-10-06 14:21:56 +02:00
ghassmo
e5e09726b9 run cargo fmt 2022-10-03 11:43:05 +04:00
mohab metwally
85096c5caa [stakeholder/stakeholder] burn/mint lead coin 2022-09-30 17:27:07 +02:00
mohab metwally
df690f54b8 [blockchain/epoch] remove EpochItem from EpochConsensus 2022-09-29 17:29:53 +02:00