Skip to content

[WIP, POC] Tests for Interactive TX #2541

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a7ed97a
Add `InteractiveTxConstructor` state machine`
dunxen Mar 21, 2023
8536621
Check add_output sats amount < 2.1 quadrillion sats
jurvis Apr 21, 2023
8cf4ee7
Add test module for API usage experiment
jurvis Apr 21, 2023
af5133e
Add ascii diagram & remove tx_signatures
dunxen May 7, 2023
7310736
Update API usage
jurvis May 8, 2023
487f279
Wrap InteractiveTxStateMachine in constructor struct
jurvis Jul 14, 2023
46c5f1a
Add abort negotiation
jurvis Jul 14, 2023
2643fce
Abstract mem::take to function
jurvis Jul 16, 2023
6ffc4b3
Exhaustively handle adding/removing inputs and outputs
jurvis Jul 16, 2023
6779d74
Added tx_complete handling to state machine
jurvis Jul 16, 2023
2591320
Add APIs for send/receive tx complete
jurvis Jul 17, 2023
26ce75f
Clean up comments
jurvis Jul 17, 2023
1d78971
Tidy up visibility
jurvis Jul 17, 2023
0dd26b9
[wip] add tests
jurvis Jul 17, 2023
8403569
[wip] more things
jurvis Aug 5, 2023
5342b1a
Make data structure for TxIn/TxOut tuple
jurvis Aug 7, 2023
3ceb99c
MOAR validation
wpaulino Aug 7, 2023
4b9f237
Minor cleanup
wpaulino Aug 8, 2023
9b4f2e5
Add better errors
jurvis Aug 9, 2023
94deca8
Use 21M from channel.rs
jurvis Aug 9, 2023
f10a639
Add more TODOs
jurvis Aug 9, 2023
4d72dfc
Change serial_id in messages to SerialId
jurvis Aug 16, 2023
b82b77d
Accept changes on TheirTxComplete
jurvis Aug 16, 2023
bc2adaf
Merge branch 'jurvis-interact-tx' into interact-tx
optout21 Aug 27, 2023
1358d65
Adaptations, compile fixes
optout21 Aug 27, 2023
3f21de9
ChannelId adaptations
optout21 Aug 27, 2023
de3f4b1
Add unit tests; minor changes (fee substraction)
optout21 Aug 30, 2023
d2f5fe4
Add missing docs (error in CI)
optout21 Aug 30, 2023
deca874
Remove 'use std', compile fix
optout21 Aug 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading