aggstam
4e305bd69d
WIP runtime: remove Batches logic, write directly to overlay
2023-03-16 19:12:58 +02:00
aggstam
9a74979141
WIP runtime: use an overlay over Blockchain
...
This allows us to use a sled-overlay over the original Blockchain sled db, so we can validate transactions execution without actually writting to it. Tests pass, but its far from ready. Cleaning, some todos and erroneous txs handling still missing.
2023-03-16 02:42:10 +02:00
aggstam
f029d9ab0f
src/contract/money: update Makefile
2023-03-14 20:42:53 +02:00
aggstam
5507b3c0c3
src/contract/money: txs_verification test added
...
This test enables us to simulate double spending transactions handling.
2023-03-14 20:39:20 +02:00
parazyd
68270e07ea
consensus/validator: Proposed behaviour of verify_transactions.
2023-03-10 18:48:01 +01:00
aggstam
633d124bdd
script/research/sled_playground: moved to independent crate( https://crates.io/crates/sled-overlay )
2023-03-10 18:55:50 +02:00
x
6786f51555
ECIP proof
2023-03-10 14:46:30 +01:00
x
0f7a4e7b85
smart_contracts.md remove potentially confusing lines
2023-03-10 11:17:28 +01:00
x
41824e5fdd
add a comment to binary quadratic forms example
2023-03-10 09:41:01 +01:00
x
2dafb9fd24
add binary quadratic forms example
2023-03-10 09:37:51 +01:00
aggstam
d841ad9fe1
runtime::write_batches: dont' return the mutable env
2023-03-09 20:15:55 +02:00
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