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
Philipp Hoenisch
f830a9f521
Use dummy multisig for creating lock psbt
3 years ago
Philipp Hoenisch
a1cc6badb2
Compute dust limit on demand
3 years ago
Lucas Soriano del Pino
9dcc109e9d
Handle fees properly
3 years ago
Philipp Hoenisch
da5fb471c9
Add ci
Includes a few checks:
- dprint check
- clippy
- workspace tests on ubuntu and macos
3 years ago
Philipp Hoenisch
45c8d05ceb
Add and run dprint fmt
3 years ago
Lucas Soriano del Pino
e9e8866ef8
Add constructor for Payout
3 years ago
Lucas Soriano del Pino
73ef2bc14a
Remove comment and use anyhow::context instead
3 years ago
Lucas Soriano del Pino
348099a7aa
Remove unwrap
3 years ago
Lucas Soriano del Pino
9423ee680f
Simplify extraction of publish sk from candidate commit tx
3 years ago
Philipp Hoenisch
efbe79abc1
Calculate refund fee dynamically
3 years ago
Philipp Hoenisch
22294aaecf
Subtract minimal fee from commit tx
3 years ago
Philipp Hoenisch
9910a732ca
Subtract minimal fee from punish tx
3 years ago
Philipp Hoenisch
f70e192ea6
Optimize miniscript by combining the full expression
3 years ago
Thomas Eizinger
831fdebda6
Avoid cloning and allocation of tx inputs
If all we need is a mutable reference to the tx input, we can
grab one via `iter_mut`.
3 years ago
Lucas Soriano del Pino
a27b3b9f80
Use all public APIs in protocol test
3 years ago
Philipp Hoenisch
07a7d2cbb1
Implement build_party_params for Wallet
3 years ago