22 Commits

Author SHA1 Message Date
Daniel Karzel
d3e5bdcb59
Spend from wallet that does not pick up transactions
The code on this branch was used to publish a transaction that spends from a wallet that was created during a swap using `generate_from_keys` but did not pick up the lock transaction of the swap correctly. The transaction could be decoded properly with the view-key, so for now we assume there must be a problem in the `monero-wallet-rpc` when handling certain wallets. Further investigation is needed to reproduce this problem.
This branch was used to spend them the lock transaction, to validate that the transaction can be spent. This was successfully achieved, however, the spending transaction that was published is unfortunately faulty (there is a problem with the outputs). The monero daemon accepted and included the transaction, but the monero wallet (through `monero-wallet-rpc`) is unable to process the transaction properly.

Original Monero Stagenet lock transaction ID: `09e361acb3e6e71d627a945a30672776a6f8fec7c97f4cae5e09b0780b75c158`
Stagenet Transaction ID that spends from the lock tx (the tx published through the integration test on this branch): `f111e906fd4ea3c25ae34d5c8ec68342bbed258c546ce74a839e14f34b591641`
2021-05-27 10:22:30 +10:00
Thomas Eizinger
0c0acaad9e
Restructure workspace so monero-adaptor only contains the protocol 2021-05-19 17:14:54 +10:00
Thomas Eizinger
1447242fa6
Make use of serde-with for monero-rpc 2021-05-19 14:37:00 +10:00
Thomas Eizinger
ec1916161e
Update to latest monero-rs 2021-05-19 14:36:59 +10:00
Thomas Eizinger
642f1d8318
Update Rust toolchain to get cargo fmt back 2021-05-19 13:54:55 +10:00
Thomas Eizinger
07dd12abf6
Add more error cases 2021-05-17 19:32:02 +10:00
Thomas Eizinger
949dbcaed2
Less mutation, more expressions 2021-05-17 19:24:12 +10:00
Thomas Eizinger
25c4a5a9b9
Sketch initial type-level state machine for signing Monero transactions 2021-05-17 19:08:26 +10:00
Thomas Eizinger
702e1767c7
Update to latest monero-rs 2021-05-17 18:03:43 +10:00
Thomas Eizinger
1af0116cac
Appease clippy 2021-05-17 17:20:33 +10:00
Thomas Eizinger
e35e5c7939
Update to latest monero-rs version 2021-05-17 17:18:02 +10:00
Thomas Eizinger
d1b00f6ee2
Answer TODO 2021-05-14 18:36:02 +10:00
Thomas Eizinger
19efd376da
Introduce ConfidentialTransactionBuilder 2021-05-14 18:14:39 +10:00
Thomas Eizinger
fd783846cf
Don't spend anything in the last 100 blocks 2021-05-12 20:34:13 +10:00
Thomas Eizinger
2abc7799e1
Return Signature from sign function 2021-05-11 11:47:20 +10:00
Thomas Eizinger
cfb05994a6
Remove warning, fmt and make things compile 2021-05-11 11:15:27 +10:00
Thomas Eizinger
d9e30b903e
Must have two outputs and upper bound was too low 2021-05-07 15:25:38 +10:00
Thomas Eizinger
ce3134c86a
More debugging 2021-05-07 14:53:32 +10:00
Lucas Soriano del Pino
64a0bd7f8a
[WIP] Almost done 2021-05-06 13:39:05 +10:00
Thomas Eizinger
be9c2c7d6b
Fill in some TODOs 2021-05-04 17:58:54 +10:00
Thomas Eizinger
47a63f3467
WIP SIGN STUFF 2021-05-04 13:37:07 +10:00
Thomas Eizinger
471baf7c49
Introduce monero-wallet crate
This is fairly bare-bones for now and only contains one piece of
functionality: choosing random key offsets.

More functionality for actually signing Monero transactions will
be added later.
2021-04-30 10:28:46 +10:00