Commit Graph

76 Commits

Author SHA1 Message Date
t1amak
e65091505e Fork Salvium into Peya
Some checks failed
ci/gh-actions/depends / Cross-Mac aarch64 (push) Failing after 9m56s
ci/gh-actions/depends / ARM v8 (push) Failing after 40m12s
ci/gh-actions/depends / ARM v7 (push) Failing after 15m5s
ci/gh-actions/depends / i686 Linux (push) Failing after 18m31s
ci/gh-actions/depends / i686 Win (push) Failing after 25m13s
ci/gh-actions/depends / RISCV 64bit (push) Failing after 18m52s
ci/gh-actions/depends / Cross-Mac x86_64 (push) Failing after 7m27s
ci/gh-actions/depends / x86_64 Freebsd (push) Failing after 1m33s
ci/gh-actions/depends / x86_64 Linux (push) Failing after 32m28s
ci/gh-actions/depends / Win64 (push) Has been cancelled
2026-03-18 16:35:23 +01:00
Some Random Crypto Guy
a4e7ebc591 added missing test code 2026-03-05 14:10:49 +00:00
Some Random Crypto Guy
305b92909e fixed InProofV3 calcs / checks 2025-12-08 16:36:12 +00:00
auruya
7f3e389d92 add carrot tx proof known values tests 2025-12-02 15:43:32 +03:00
Some Random Crypto Guy
87da2d4661 extended unit test scenarios for Carrot TX proofs 2025-12-01 20:23:27 +00:00
Some Random Crypto Guy
f6075ae9ec simple unit test for Carrot TX proofs 2025-12-01 20:13:49 +00:00
Some Random Crypto Guy
c424e84f4b cleaned up wallet code; fixed unit test 2025-12-01 15:44:23 +00:00
auruya
7727bdb51e Add stake tests (#60)
* update unit tests

* add stake transaction functional test
2025-09-12 09:39:02 +01:00
akildemir
a159bed3ba remove tools::add_element 2025-08-08 14:54:55 +03:00
akildemir
9ba621b3ae post carrot stake tx support (#32)
* add support for stake txs and payouts post-carrot

* fixes on the stake return payments

* complete post-carrot stake txs

* rename protocol_tx_data to protocol_tx_data_t
2025-07-23 14:58:11 +01:00
akildemir
dd39f94ca6 all pre-carrot txs work; Add support for return txs post-carrot. 2025-07-11 12:08:44 +03:00
akildemir
78232ff3a8 misc fixes 2025-07-07 16:55:26 +03:00
akildemir
520d4b4eab implement sparc return address functionality 2025-07-02 14:25:25 +03:00
Some Random Crypto Guy
a9301f5573 migrated wallet_scanning tests to using carrot_and_legacy_account instead of keystore 2025-07-01 13:56:52 +01:00
akildemir
130975cebd clean up previous commit 2025-06-29 15:38:14 +03:00
Some Random Crypto Guy
5306d4b94a interim checkin - working RCT Carrot TX 2025-06-27 16:05:08 +01:00
akildemir
2b31c8ad69 compile unit tests 2025-06-24 13:18:08 +03:00
akildemir
a289de023a completed first successful tx from old keys to old keys post carrot fork 2025-06-12 16:32:16 +03:00
Some Random Crypto Guy
7fe9ee0990 updated RCT functions to support SalviumOne and T-CLSAG use 2025-06-04 13:05:20 +01:00
Some Random Crypto Guy
1adc1b0f8d added full set of CLSAG tests for T-CLSAG 2025-05-29 19:07:12 +01:00
akildemir
3878e389fe initial clsag implementation for carrot 2025-05-28 17:50:16 +03:00
akildemir
1bf4f40b79 test compile 2025-05-21 14:33:58 +03:00
jeffro256
6f6a17d923 carrot+fcmp: fix unit tests for payment_id_t type separation 2025-05-21 14:26:03 +03:00
jeffro256
d1b7abfc69 carrot_core: fix unit tests for payment_id_t type separation 2025-05-21 14:25:05 +03:00
jeffro256
4942f848f8 carrot_impl: fix sweep_all to create multiple txs with n_outputs *each* 2025-05-21 14:17:49 +03:00
jeffro256
fa3ecd03df carrot+fcmp: PR #32 j-berman review 1 2025-05-21 14:15:18 +03:00
jeffro256
c4ca673074 carrot+fcmp: changes to pending_tx for Carrot construction 2025-05-21 12:36:43 +03:00
Some Random Crypto Guy
c145285dcf finished SPARC library prototype - anonymised return payments now pass unit tests; removed extraneous code 2025-05-16 21:06:20 +01:00
Some Random Crypto Guy
2550591cf1 added unit test for full verification of Anonymised Returns process from SPARC 2025-05-15 10:46:50 +01:00
Some Random Crypto Guy
0520fc4fe6 working make_return_tx() code 2025-05-14 12:04:50 +01:00
akildemir
7a05f26810 tests compiles 2025-05-13 15:46:47 +03:00
jeffro256
f1e48c9094 carrot_impl: more documentation and rename CarrotPreSelectedInput 2025-05-13 13:57:28 +03:00
jeffro256
02e8fea2fe carrot_impl: file reorganization 2025-05-13 13:56:59 +03:00
jeffro256
266c41aeab carrot_impl: input selection overhaul
* Split subsetting into `form_preferred_input_candidate_subsets` fuction
* Use `get_input_counts_in_preferred_order` directly from `make_single_transfer_input_selector`
* Input selection policies are passed number of inputs to select for, instead of dynamic
* Filter dust before calling policies
* Throw more descriptive errors when not enough money (could still be improved for not enough input case)
* Replace multiprecision::int128_t with multiprecision::uint128_t for simplicity and cryptonote::print_money
* More documentation
* Remove "select two, prefer oldest" policy for now
2025-05-13 13:42:46 +03:00
jeffro256
870203e6fe carrot_impl: correct subaddr account index for change 2025-05-13 13:38:09 +03:00
jeffro256
650b6b8bd4 carrot_impl: classify 2-out dummys as change and make unique derivs for 2-selfsend 2-outs 2025-05-13 13:34:48 +03:00
jeffro256
19593db002 carrot_impl: fix 2-out selfsend sweep carving 2025-05-13 13:16:53 +03:00
jeffro256
b982d4c5a6 carrot_impl: make multiple sweep tx proposals at once 2025-05-13 13:13:06 +03:00
jeffro256
c4dbc4ea7b carrot_impl: remove device parameters from tx proposal making functions 2025-05-13 12:47:22 +03:00
jeffro256
29f9a4d679 carrot_impl: make multiple tx transfer proposals at once 2025-05-13 12:45:21 +03:00
jeffro256
8ad1727ea7 carrot_impl: merge make_carrot_transaction_proposal_v1_transfer functions 2025-05-12 16:11:54 +03:00
jeffro256
b7ea8d0b22 carrot_impl: store extra_nonce to coinbase txs 2025-05-12 15:46:16 +03:00
jeffro256
70bde9353b carrot_impl: rename make_pruned_transaction_from_proposal_v1 2025-05-12 15:45:06 +03:00
jeffro256
1f3255e1e8 carrot_impl: unit tests for select_greedy_aging 2025-05-12 15:03:47 +03:00
jeffro256
e1d3086a24 carrot_impl: silence addr init warnings in carrot_impl.cpp 2025-05-12 14:19:16 +03:00
jeffro256
4659b6b6f1 carrot_core: janus protection tests 2025-05-12 12:48:09 +03:00
jeffro256
b529887e88 carrot+fcmp: rework for Carrot scanning changes 2025-05-12 12:28:21 +03:00
jeffro256
2194b853d5 carrot_core: unbind K^j_v in d_e and overhaul scanning functions 2025-05-12 11:29:32 +03:00
jeffro256
ce9c845d26 carrot_impl: fix key image scanning in view-only and burned zombie outputs 2025-05-07 16:22:22 +03:00
jeffro256
fec249d598 tx_construction_helpers: improve RingCT input detection 2025-05-07 16:21:57 +03:00