Thomas Eizinger
1670a1f3ac
Merge pull request #32 from comit-network/renewal
Add `renew_cfd_transactions` API
3 years ago
Thomas Eizinger
1fc6c8c6c8
Merge pull request #41 from comit-network/transition-to-actor-model
Remodel daemons to follow actor model more closely
3 years ago
Lucas Soriano del Pino
a693f19976
Do not destructure CfdKeys type
3 years ago
Thomas Eizinger
3112f1f7be
Remodel daemons to follow actor model more closely
Co-authored-by: Mariusz Klochowicz <mariusz@klochowicz.com>
3 years ago
Lucas Soriano del Pino
bffe4c603e
Refactor cfd tests
In order to reuse code and to make it easier to add new tests (e.g.
negative tests) in the future.
3 years ago
Lucas Soriano del Pino
31f1a87d3a
Rename finalize_spend_transaction arguments
To convey that the order in which these pairs of arguments are passed
in is irrelevant.
3 years ago
Lucas Soriano del Pino
a24dd67f20
Add create test helper
3 years ago
Lucas Soriano del Pino
66c4c58a2d
Define and implement TransactionExt::outpoint
3 years ago
Lucas Soriano del Pino
d95eeda49f
Use iter::chain and iter::once
Instead of `vec![vec![]].concat()`.
3 years ago
Lucas Soriano del Pino
641faceb8a
Add renew_cfd_transactions API
3 years ago
Thomas Eizinger
a71d2a68a8
Merge pull request #40 from comit-network/minimize-dependencies
3 years ago
Thomas Eizinger
d6b8df7958
`macros` is a default feature
3 years ago
Thomas Eizinger
ea07efcae8
Remove proptest while we are not using it
3 years ago
Thomas Eizinger
8993492543
Track bdk's rev in lockfile
3 years ago
Thomas Eizinger
89e75d117d
Don't activate features we don't use
3 years ago
Thomas Eizinger
7af1e1310e
Deactivate futures default features
3 years ago
Thomas Eizinger
2234e15ce9
Remove unused dependency
3 years ago
Thomas Eizinger
dd17d7da1a
Align bdk versions
3 years ago
Thomas Eizinger
f54560a148
Proptest is a test dependency
3 years ago
Thomas Eizinger
b9c8146b71
Merge pull request #37 from thomaseizinger/fix-ci
3 years ago
Thomas Eizinger
96b3be2388
Make yarn job separate steps
3 years ago
Thomas Eizinger
52d24de1a8
Cache clippy artifacts
3 years ago
Thomas Eizinger
b37c972da7
Condense CI configuration
3 years ago
Thomas Eizinger
b5dc3fa6ed
Fix invalid CI configuration
3 years ago
Thomas Eizinger
9cb0a3085e
Merge pull request #13 from comit-network/frontend-backend
Initial taker UI+daemon prototype
3 years ago
Daniel Karzel
be7fa3e612
Initial daemon and frontend for taker and maker
Co-authored-by: Mariusz Klochowicz <mariusz@klochowicz.com>
3 years ago
Lucas Soriano del Pino
6a21f4e31a
Increase ContractExecutionTransaction::SIGNED_VBYTES constant
We were only testing against CETs with a single output, so the
`SIGNED_VBYTES` constant was based on a smaller transaction than
usual.
We could use a different constant for the case when the CET has a
single output, but it's just an edge case and the transaction fees are
very small.
3 years ago
Lucas Soriano del Pino
b654172b80
Rename tests file
3 years ago
Lucas Soriano del Pino
2a9e49ca9a
Take raw lock transaction in CommitTransaction constructor
We remove the `LockTransaction` type accordingly.
3 years ago
Lucas Soriano
63896c4f6b
Merge pull request #31 from comit-network/no-address
Extract script from descriptor directly
3 years ago
Thomas Eizinger
080e1d6364
Extract script from descriptor directly
No need to do a round-trip to an address and back!
3 years ago
Lucas Soriano
d286c79f0f
Merge pull request #29 from comit-network/mini-fixes
Fix a couple of small things
3 years ago
Lucas Soriano del Pino
ab7dfe2fd6
Remove redundant anyhow::context
3 years ago
Lucas Soriano del Pino
5e6f6b4d5a
Use byte strings in tests
3 years ago
Lucas Soriano
cfea875343
Merge pull request #28 from comit-network/message-as-string
Get rid of unnecessary and unwanted `Message` type
3 years ago
Lucas Soriano del Pino
e3607c0734
Get rid of unnecessary and unwanted Message type
3 years ago
Lucas Soriano
099a3104b4
Merge pull request #24 from comit-network/hashmap-from-iter
Construct satisfiers using HashMap::from_iter
3 years ago
Lucas Soriano del Pino
658e0cf21f
Fix name of Payout private method
And also take self by value since it's a type that implements `Copy`.
3 years ago
Lucas Soriano del Pino
c299c2cdb4
Construct satisfiers using HashMap::from_iter
3 years ago
Lucas Soriano
4f49e95e91
Merge pull request #23 from comit-network/support-all-networks
Remove hard-coded `Network`s
3 years ago
Lucas Soriano del Pino
7a61e50e07
Use parse instead of FromStr in unit tests
3 years ago
Lucas Soriano del Pino
53e1056c8e
Do not hard-code network in library
3 years ago
Lucas Soriano del Pino
7f21d3b24a
Remove use of bitcoin::PrivateKey type
3 years ago
Lucas Soriano
3e6d801dd2
Merge pull request #22 from comit-network/sighas-to-message
Sighash to message
3 years ago
Lucas Soriano del Pino
5f58be55c7
Simplify imports
3 years ago
Lucas Soriano del Pino
862cf66e66
Convert sighashes to messages non-fallibly
3 years ago
Lucas Soriano
d05e293f3c
Merge pull request #21 from comit-network/integration-test
Move library test into tests folder
3 years ago
Philipp Hoenisch
4d0a6b7e90
Merge pull request #16 from comit-network/protocol
3 years ago
Philipp Hoenisch
d0bd25832a
Move library test into tests folder
3 years ago
Philipp Hoenisch
5156e14f8a
Fix clippy warnings: unnecessary results
3 years ago