aggstam
7d3090f1ed
runtime: Make all the writes atomic in a transaction over all trees
2023-03-09 19:59:46 +02:00
x
256288521e
print final form
2023-03-09 17:47:39 +01:00
aggstam
9343a34fb9
script/research/sled_playground/overlay2: dynamic tree open
2023-03-09 18:25:35 +02:00
parazyd
81cbd83de2
book: learn.md formatting.
2023-03-09 17:08:56 +01:00
x
2d978d5245
use the paper's div construction
2023-03-09 16:55:17 +01:00
aggstam
daca750bda
script/research/sled_playground: overlay2 added, wrapping everything in there
2023-03-09 16:19:56 +02:00
parazyd
409e57ada1
sled_playground: Do transaction over Vec<Tree>.
2023-03-09 15:05:23 +01:00
x
a35daa7b05
div2
2023-03-09 14:16:42 +01:00
x
339a6605ff
dlog stuff
2023-03-09 12:59:12 +01:00
x
708e6916e9
weil reciprocity
2023-03-09 12:59:12 +01:00
parazyd
7bfd17b8cf
runtime/db: Disallow init/lookup of zkas db.
2023-03-09 11:57:50 +01:00
parazyd
f95895fc26
sled_playground: Use batching and transactions.
2023-03-09 10:12:47 +01:00
parazyd
f82021ad7b
research/sled_playground: Use a BTreeMap instead of Vec for removed items.
2023-03-09 09:15:19 +01:00
aggstam
7f7ad7d5d3
README/Build: minor thing
2023-03-08 18:07:50 +00:00
aggstam
3f43364821
README/Build: minor thing
2023-03-08 18:05:26 +00:00
aggstam
473054defc
README/Build: added wasm32 toolchain command
2023-03-08 18:04:01 +00:00
parazyd
87022bd195
research/sled_playground: Alternative SledOverlay API impl
2023-03-08 15:56:41 +01:00
aggstam
38d9eafa31
script/research: sled_playground added
2023-03-08 15:23:16 +02:00
parazyd
3426e076af
sdk/note: Fix tests.
2023-03-08 12:02:40 +01:00
parazyd
a0c5850ffb
sdk/note: Remove stray import
2023-03-08 12:01:44 +01:00
parazyd
f6cf33f4ed
sdk/note: Pass ephemeral_secret as an argument to ElGamal::encrypt
2023-03-08 11:44:57 +01:00
parazyd
5cc394ae21
sdk/note: ElGamal decrypt()
2023-03-08 11:27:20 +01:00
parazyd
0b5c2393e1
sdk/note: ElGamal encrypt()
2023-03-08 11:09:03 +01:00
parazyd
0ed1d62b4b
sdk: Minor cleanup
2023-03-07 22:39:41 +01:00
parazyd
0c70558392
wallet: Remove cashierdb.rs
2023-03-07 22:39:41 +01:00
aggstam
230c1b1dd1
drk/alias: exit on erroneous alias size
2023-03-07 23:28:50 +02:00
aggstam
e06b6fa1df
consensus: moved pending txs from memory a distinct sled store
2023-03-07 23:14:09 +02:00
parazyd
ce26ad15a7
research/x3dh: Formatting fixes
2023-03-07 17:47:24 +01:00
Sombra
2340992333
src/xeddsa.rs: fix comment
2023-03-07 08:31:18 -08:00
Sombra
2aaf606741
Fix x3dh sig ( #158 )
...
* rename local variable sig to signature to avoid confusion with the function param
* x3dh/src/main: removed prints and renames variable
* faucetd/src/main: debugging
* remove fix tags
* rename vars
* src/xeddsa.rs: fix import and switched to verify_strict
2023-03-07 16:24:41 +00:00
police
1ad0284a22
use unsigned_abs inplace of abs as unsign
2023-03-07 15:28:31 +02:00
parazyd
e2a2bd29ad
sdk/crypto/note: Fix test unit.
2023-03-07 12:33:43 +01:00
parazyd
8fd8526c52
consensus/validator: Allow too many arguments for ValidatorState::new
2023-03-07 12:31:52 +01:00
parazyd
691d98d296
bin: Apply linter suggestions.
2023-03-07 12:29:51 +01:00
parazyd
48d3adab9f
contract: Apply linter suggestions.
2023-03-07 12:29:51 +01:00
parazyd
4efb0ecf8c
lib: Apply linter suggestions.
2023-03-07 12:29:47 +01:00
parazyd
43f89dbfc7
consensus: Remove erroneus tx logic.
2023-03-06 20:10:01 +01:00
parazyd
96c2f8a7d4
tx: Simplify tx::hash
2023-03-06 18:33:53 +01:00
parazyd
8f7affff37
blockchain: Implement abstraction for fetching zkas bincode and vks.
2023-03-06 18:33:53 +01:00
parazyd
98aa6f94a6
darkfid/faucetd: Use new zkas db API
2023-03-06 18:33:53 +01:00
parazyd
cd10e3eed8
contract: Get integration tests working with the new verifyingkey logic.
2023-03-06 18:33:53 +01:00
parazyd
473d2f8707
consensus: Dynamically load VerifyingKey for zkas circuits from sled.
2023-03-06 18:33:53 +01:00
parazyd
8e251d0338
contract/dao: Use zkas_db_set for zk proofs.
2023-03-06 18:33:52 +01:00
parazyd
1bfe6ef5f1
contract/money: Use new zkas_db_set for zk proofs.
2023-03-06 18:33:52 +01:00
parazyd
740ce9fa52
Move SMART_CONTRACT_ZKAS_DB_NAME constant to the wasm runtime module.
2023-03-06 18:33:52 +01:00
parazyd
c5ad486a09
sdk: Implement zkas_db_set for use inside wasm.
2023-03-06 18:33:52 +01:00
parazyd
6fda2f9142
runtime/db: Implement zkas_db_set
...
This is used specifically for zkas circuits bundled with the WASM
contracts. If necessary, the functions will also create and serialize
VerifyingKey objects needed to verify proofs using the given circuit
and store them in the database for later reference.
We rely on the assumption that `deploy()` will do the db init or
lookup before running so the zkas db handle is always index zero.
2023-03-06 18:33:52 +01:00
parazyd
fd280c6513
runtime: Initialize or lookup a zkas db when running contract deployment.
2023-03-06 18:33:52 +01:00
parazyd
3b83197466
blockchain/contract_store: Add informational comment
2023-03-06 18:33:52 +01:00
parazyd
db48d24580
zk/proof: Implement VerifyingKey serialization.
2023-03-06 18:33:52 +01:00