Luke Parker
4bd0d71406
Add initial eVRF DKG test
2024-08-02 00:53:23 -04:00
Luke Parker
ef68885600
Finish routing the eVRF functionality
...
Still needs errors and serialization, along with a few other TODOs.
2024-08-02 00:53:23 -04:00
Luke Parker
00dc3087bd
Update to the new eVRF proof
2024-08-02 00:53:23 -04:00
Luke Parker
eca82f3f7b
Add paragraph claiming robustness
2024-08-02 00:53:23 -04:00
Luke Parker
05c26d7818
Add documentation to the eVRF-based DKG
2024-08-02 00:53:23 -04:00
Luke Parker
96175e115d
Inline the eVRF into the DKG library
...
Due to how we're handling share encryption, we'd either need two circuits or to
dedicate this circuit to the DKG. The latter makes sense at this time.
2024-08-02 00:53:23 -04:00
Luke Parker
fa31f26397
Add embedwards25519 curve
2024-08-02 00:53:23 -04:00
Luke Parker
7710da4db3
Initial eVRF-based DKG
2024-08-02 00:53:23 -04:00
Luke Parker
b7103038cb
Have the eVRF take a Zeroizing private key
2024-08-02 00:53:23 -04:00
Luke Parker
b6e688076f
Make NUM_BITS an argument for the field macro
2024-08-02 00:53:23 -04:00
Luke Parker
b8472963c9
Make DKG Encryption a bit more flexible
...
No longer requires the use of an EncryptionKeyMessage, and allows pre-defined
keys for encryption.
2024-08-02 00:53:23 -04:00
Luke Parker
772d033bb2
Add implementation of secq256k1
2024-08-02 00:53:23 -04:00
Luke Parker
49a183194d
Add the openings of the PCs to the eVRF as necessary
2024-08-02 00:53:23 -04:00
Luke Parker
db31809708
Initial eVRF implementation
...
Not quite done yet. It needs to communicate the resulting points and proofs to
extract them from the Pedersen Commitments in order to return those, and then
be tested.
2024-08-02 00:53:23 -04:00
Luke Parker
dcc26ecf33
Upstream GBP, divisor, circuit abstraction, and EC gadgets from FCMP++
2024-08-02 00:53:22 -04:00
Luke Parker
d5205ce231
Update dependencies
...
Resolves a yanked version of bytemuck.
2024-08-01 04:06:09 -04:00
Luke Parker
0f6878567f
Remove a pair of unused structs/deps
...
Caught by the most recent nightly.
2024-08-01 01:36:10 -04:00
Luke Parker
880565cb81
Rust 1.80
...
Preserves the fn accessors within the Monero crates so that we can use statics
in some cfgs yet not all (in order to provide support for more low-memory
devices) with the exception of `H` (which truly should be cached).
2024-07-26 19:28:10 -07:00
Luke Parker
6f34c2ff77
Remove unused git allowance for monero-rs
2024-07-19 23:51:05 -04:00
akildemir
1493f49416
Implement genesis liquidity protocol ( #545 )
...
* add genesis liquidity implementation
* add missing deposit event
* fix CI issues
* minor fixes
* make math safer
* fix fmt
* make remove liquidity an authorized call
* implement setting initial values for coins
* add genesis liquidity test & misc fixes
* updato develop latest
* fix rotation test
* Finish merging develop
* Remove accidentally committed ETH files
* fix pr comments
* further bug fixes
* fix last pr comments
* tidy up
* Misc
---------
Co-authored-by: Luke Parker <lukeparker5132@gmail.com >
2024-07-18 19:30:19 -04:00
Luke Parker
2ccb0cd90d
Correct version of ruby update is run with
...
Hopefully finally resolves the site build failures.
2024-07-18 16:47:59 -04:00
Luke Parker
b33a6487aa
Rename DKG specified in FROST from FROST to PedPoP
2024-07-18 16:41:31 -04:00
Luke Parker
491500057b
Update Ruby version used in GH workflow
2024-07-18 16:09:01 -04:00
Luke Parker
d9f85fab26
Update lockfiles
...
Resolves a dependabot alert about the Ruby used to generate the docs site.
2024-07-18 15:18:08 -04:00
Luke Parker
7d2d739042
Rename the coins folder to networks ( #583 )
...
* Rename the coins folder to networks
Ethereum isn't a coin. It's a network.
Resolves #357 .
* More renames of coins -> networks in orchestration
* Correct paths in tests/
* cargo fmt
2024-07-18 15:16:45 -04:00
akildemir
40cc180853
add transaction and crypto unit tests
2024-07-17 16:26:31 -07:00
Luke Parker
2aac6f6998
Improve usage of constants in coordinator p2p
2024-07-17 06:54:54 -04:00
Luke Parker
149c2a4437
Use non-pruned nodes in verify-chain
2024-07-17 06:54:26 -04:00
Luke Parker
e772b8a5f7
#560 take two, now that #560 has been reverted ( #561 )
...
* Clear upons upon round, not block
* Cache the proposal for a round
* Rebase onto develop, which reverted this PR, and re-apply this PR
* Set participation upon participation instead of constantly recalculating
* Cache message instances
* Add missing txn commit
Identified by @akildemir.
* Correct clippy lint identified upon rebase
* Fix tendermint chain sync (#581 )
* fix p2p Reqres protocol
* stabilize tributary chain sync
* fix pr comments
---------
Co-authored-by: akildemir <34187742+akildemir@users.noreply.github.com >
2024-07-16 19:42:15 -04:00
Luke Parker
c0200df75a
Add missing feature flag to dalek-ff-group
2024-07-15 21:50:43 -04:00
Luke Parker
9955ef54a5
Apply bitcoin fee per vsize, not per weight unit
...
This enables more precision.
2024-07-15 17:37:04 -07:00
Luke Parker
8e7e61adbd
Respect maximum amount of outs per request
2024-07-14 20:28:10 -04:00
Luke Parker
0cb24dde02
cargo update
...
Resolves failing deny.
2024-07-14 20:27:36 -04:00
Luke Parker
97bfb183e8
Correct typo in coordinator
...
Identified by akil a while ago.
2024-07-14 19:35:45 -04:00
Luke Parker
85fc31fd82
Have monero-wallet use Transaction<Pruned>, not Transaction
2024-07-14 19:30:50 -04:00
Luke Parker
7b8bcae396
Add support for pruned transactions to monero-serai
2024-07-13 00:29:02 -04:00
Luke Parker
70fe52437c
Have RPC tests run sequentially
...
Also corrects links pointing to branches to point to commits.
2024-07-12 22:09:46 -04:00
Luke Parker
ba657e23d1
Have a public monero-rpc type be properly formatted
...
It was public as the raw RPC response. It's more polite to handle the
formatting in the RPC, and allows us to return a better structure.
2024-07-12 04:14:05 -04:00
Luke Parker
32c24917c4
Correct tests which should've failed to expect failures now that they fail
2024-07-12 03:09:48 -04:00
Luke Parker
4ba961b2cb
Cite source for obscure wallet protocol rules
2024-07-12 02:19:21 -04:00
Luke Parker
c59be46e2f
Optimize Monero BPs
2024-07-12 02:18:57 -04:00
Luke Parker
2c165e19ae
Bitcoin 27.1
2024-07-12 02:18:43 -04:00
Luke Parker
ee10692b23
Fix handling of output distribution
...
We prior didn't handle how the output distribution only starts after a specific
block.
2024-07-11 18:06:51 -04:00
Luke Parker
7a68b065e0
Redo the Bulletproofs impl
...
Uses the IP-impl from the FCMP++ work.
2024-07-10 21:05:23 -04:00
Luke Parker
3ddf1eec0c
Fix no-std builds for monero-wallet
2024-07-09 02:17:57 -04:00
Luke Parker
84f0e6c26e
Add additional documentation
2024-07-08 20:33:00 -04:00
Luke Parker
5bb3256d1f
Support subaddresses as change outputs
2024-07-08 20:00:21 -04:00
Luke Parker
774424b70b
Differentiate Rpc from DecoyRpc
...
Enables using a locally backed decoy DB.
2024-07-08 18:14:56 -04:00
Luke Parker
ed662568e2
Clean decoy selection code
2024-07-08 02:51:06 -04:00
Luke Parker
b744ac9a76
Clean decoy selection
2024-07-08 02:38:01 -04:00