Luke Parker
d363b1c173
Fix #630
2025-08-12 01:27:28 -04:00
Luke Parker
d5077ae966
Respond to 13.1.1.
...
Uses Zeroizing for username/password in monero-simple-request-rpc.
2025-08-12 01:27:28 -04:00
Luke Parker
188fcc3cb4
Remove potentially-failing unchecked arithmetic operations for ones which error
...
In response to 9.13.3.
Requires a bump to Rust 1.82 to take advantage of `Option::is_none_or`.
2025-08-12 01:27:28 -04:00
Luke Parker
cbab9486c6
Clarify messages in non-debug assertions
2025-08-12 01:27:28 -04:00
Luke Parker
a5f4c450c6
Response to usage of unwrap in non-test code
...
This commit replaces all usage of `unwrap` with `expect` within
`networks/monero`, clarifying why the panic risked is unreachable. This commit
also replaces some uses of `unwrap` with solutions which are guaranteed not to
fail.
Notably, compilation on 128-bit systems is prevented, ensuring
`u64::try_from(usize::MAX)` will never panic at runtime.
Slight breaking changes are additionally included as necessary to massage out
some avoidable panics.
2025-08-12 01:27:28 -04:00
Luke Parker
4f65a0b147
Remove Clone from ClsagMultisigMask{Sender, Receiver}
...
This had ill-defined properties on Clone, as a mask could be sent multiple times
(unintended) and multiple algorithms may receive the same mask from a singular
sender.
Requires removing the Clone bound within modular-frost and expanding the test
helpers accordingly.
This was not raised in the audit yet upon independent review.
2025-08-12 01:27:28 -04:00
Luke Parker
feb18d64a7
Respond to 2 3
...
We now use `FrostError::InternalError` instead of a panic to represent the mask
not being set.
2025-08-12 01:27:28 -04:00
Luke Parker
cb1e6535cb
Respond to 2 2
2025-08-12 01:27:28 -04:00
Luke Parker
6b8cf6653a
Respond to 1.1 A2 (also cited as 2 1)
...
`read_vec` was unbounded. It now accepts an optional bound. In some places, we
are able to define and provide a bound (Bulletproofs(+)' `L` and `R` vectors).
In others, we cannot (the amount of inputs within a transaction, which is not
subject to any rule in the current consensus other than the total transaction
size limit). Usage of `None` in those locations preserves the existing
behavior.
2025-08-12 01:27:28 -04:00
Luke Parker
b426bfcfe8
Respond to 1.1 A1
2025-08-12 01:27:28 -04:00
Luke Parker
21ce50ecf7
Revert "Forward docker stderr to stdout in case stderr is being dropped for some reason"
...
This was intended for the monero-audit branch.
2025-08-10 20:53:09 -04:00
Luke Parker
a4ceb2e756
Forward docker stderr to stdout in case stderr is being dropped for some reason
2025-08-10 20:50:12 -04:00
Luke Parker
eab5d9e64f
Remove Mastodon link from README
...
Closes #662 .
2025-07-12 03:29:21 -04:00
Luke Parker
e9c1235b76
Tweak how features are activated in the coins pallet tests
2024-10-30 17:15:39 -04:00
akildemir
dc1b8dfccd
add coins pallet tests ( #606 )
...
* add tests
* remove unused crate
* remove serai_abi
2024-10-30 16:05:56 -04:00
Luke Parker
d0201cf2e5
Remove potentially vartime (due to cache side-channel attacks) table access in dalek-ff-group and minimal-ed448
2024-10-27 08:51:19 -04:00
Luke Parker
f3d20e60b3
Remove --no-deps from docs build to fix linking to deps
2024-10-17 21:14:13 -04:00
Luke Parker
dafba81b40
Add wasm32-unknown-unknown target to docs build
2024-10-17 18:45:34 -04:00
Luke Parker
91f8ec53d9
Add build-dependencies into docs build
2024-10-17 18:29:47 -04:00
Luke Parker
fc9a4a08b8
Correct rust-docs component name
2024-10-17 18:12:35 -04:00
Luke Parker
45fadb21ac
Correct paths in pages.yml
2024-10-17 18:05:54 -04:00
Luke Parker
28619fbee1
CI fixes
...
Mainly corrects for https://github.com/alloy-rs/alloy/issues/1510 yet also
corrects a missing machete ignore.
2024-10-17 18:02:57 -04:00
Luke Parker
bbe014c3a7
Have CI build with doc_auto_cfg
2024-10-17 17:48:14 -04:00
Luke Parker
fb3fadb3d3
Publish Rust docs to GH pages
2024-10-17 17:18:58 -04:00
Luke Parker
f481d20773
Correct licensing for .github
2024-10-17 17:17:36 -04:00
Luke Parker
599b2dec8f
cargo update
...
Should fix the recent CI failures re: Ethereum as well.
2024-10-09 00:39:34 -04:00
akildemir
435f1d9ae1
add specific network/coin/balance types ( #619 )
...
* add specific network/coin/balance types
* misc fixes
* fix clippy
* misc fixes
* fix pr comments
* Make halting for external networks
* fix encode/decode
2024-10-06 22:16:11 -04:00
Luke Parker
d7ecab605e
Update docs gems
2024-09-25 10:37:29 -04:00
Jeffro
805fea52ec
Add link for SCALE encoding in doc
2024-09-24 14:17:28 -07:00
j-berman
48db06f901
xmr: fix scan long encrypted amount
2024-09-21 08:33:35 -07:00
Luke Parker
e9d0a5e0ed
Remove stray references to monero-wallet-util
2024-09-20 04:28:23 -04:00
Luke Parker
44d05518aa
Add a public TransactionKeys struct to monero-wallet
...
monero-wallet ships an Eventuality, yet it's across the entire transaction. It
can't prove a single output's state with a traditional payment proof. By adding
this new object, another library can obtain the ephemeral randomness used and
do any/every proof they want regarding a transaction's outputs.
Necessary for https://github.com/serai-dex/serai/issues/599 .
2024-09-20 04:26:21 -04:00
Luke Parker
23b433fe6c
Fix #612
2024-09-20 04:05:17 -04:00
Luke Parker
2e57168a97
Update documentation on Timelocked
2024-09-20 04:01:55 -04:00
Luke Parker
5c6160c398
Kick monero-seed, polyseed, monero-wallet-util to https://github.com/kayabaNerve/monero-wallet-util
2024-09-20 03:24:33 -04:00
Luke Parker
9eee1d971e
bitcoin-serai changes from next
...
Expands the NotEnoughFunds error and enables fetching the entire unsigned
transaction, not just the outputs it'll have.
2024-09-20 03:14:20 -04:00
Luke Parker
e6300847d6
monero-serai changes from 2edc2f3612
2024-09-20 02:42:46 -04:00
Luke Parker
e0a3e7bea6
Change dummy payment ID behavior on 2-output, no change
...
This reduces the ability to fingerprint from any observer of the blockchain to
just one of the two recipients.
2024-09-20 02:40:18 -04:00
Luke Parker
cbebaa1349
Tighten documentation on Block::number
2024-09-20 02:40:01 -04:00
Luke Parker
669b2fef72
Remove test_tweak_keys
...
What it tests no longer applies since tweak_keys now introduces an unspendable
script path.
2024-09-19 21:43:00 -04:00
Luke Parker
3af430d8de
Use the IETF transacript in bitcoin-serai, not RecommendedTranscript
...
This is more likely to be interoperable in the long term.
2024-09-19 21:13:08 -04:00
Luke Parker
dfb5a053ae
Resolve #611
2024-09-19 20:58:33 -04:00
Luke Parker
bdcc061bb4
Add ScannableBlock abstraction in the RPC
...
Makes scanning synchronous and only error upon a malicious node/unplanned for
hard fork.
2024-09-13 04:38:49 -04:00
Luke Parker
2c7148d636
Add machete exception for monero-clsag to monero-wallet
2024-09-13 02:39:43 -04:00
Luke Parker
6b270bc6aa
Remove async-trait from monero-rpc
2024-09-13 02:36:53 -04:00
Luke Parker
875c669a7a
Remove monero-serai multisig for just monero-[clsag, wallet] multisig
2024-09-12 18:41:35 -04:00
Luke Parker
0d399ecb28
Remove unused error in monero-address
2024-09-12 18:41:35 -04:00
Luke Parker
88440807e1
Monero v0.18.3.4 ( #605 )
...
* Monero v0.18.3.4
* Correct `check_weight_and_fee` call
* Restore empty test files so CI isn't borked
2024-09-06 01:43:31 -04:00
Luke Parker
c1a9256cc5
dockertest 0.5, correct errors from prior update commit
2024-09-05 23:31:45 -04:00
Luke Parker
0d5756ffcf
cargo update, upgrade alloy
...
Removes a dated proc-macro-crate patch.
2024-09-05 17:03:23 -04:00