77 Commits (2f9a969abae00e6689ccef02e7c84012a36dd2f6)

Author SHA1 Message Date
Thomas Eizinger e881a1afcd
Build CfdTransactions without mutability 3 years ago
Philipp Hoenisch 20648e821b
Allow more than one attestation event per CFD 3 years ago
Lucas Soriano del Pino 27727cdb03
Use olivia's attestation scheme instead of dlcspecs' 3 years ago
Thomas Eizinger 296fd98cf0
Add dummy payouts 3 years ago
Lucas Soriano del Pino d168b07065
Fix MAX_PRICE_DEC 3 years ago
Lucas Soriano del Pino 366c415314
Introduce monitor actor 3 years ago
Lucas Soriano del Pino 7eae0271b0
Add TxInExt trait with find_map_signature method 3 years ago
Lucas Soriano del Pino 8e4d3254f2
Add close_transaction API to cfd_protocol lib 3 years ago
Lucas Soriano del Pino e879b36304
Document create_cfd_transactions 3 years ago
Lucas Soriano del Pino 1eb237faaa
Take RangeInclusive<u64> as argument to Payout constructor 3 years ago
Lucas Soriano del Pino 7e646461c5
Remove unnecessary newlines around imports 3 years ago
Lucas Soriano del Pino e395876cc1
Prefer pub(crate) over pub(super) 3 years ago
Lucas Soriano del Pino d2c8c9191c
Use impl Trait shorthand wherever possible 3 years ago
Lucas Soriano del Pino 4fdbe89898
Refactor cfd_protocol crate 3 years ago
Lucas Soriano del Pino c4d34ae443
Remove Interval from public API 3 years ago
Lucas Soriano del Pino 4e2e3914cb
Reorganize modules 3 years ago
Lucas Soriano del Pino b8ce7fac35
Expose APIs that are needed 3 years ago
Lucas Soriano del Pino 8122cd7b79
Prove that signing a price works 3 years ago
Lucas Soriano del Pino ea3a54ff36
Introduce oracle module 3 years ago
Lucas Soriano del Pino b49dc137fe
Construct payouts from intervals 3 years ago
Lucas Soriano del Pino aedce9b4b6
Handle multiple (message, nonce) pairs 3 years ago
Lucas Soriano del Pino 0b6336c13d
Add interval module 3 years ago
Daniel Karzel a8a8076887
Rename offer to order. Everywhere!!! 3 years ago
Thomas Eizinger d459af14d1
Integrate CFD protocol into the maker and taker 3 years ago
Lucas Soriano del Pino 585d000694
Move nonce_pk to Payout type 3 years ago
Lucas Soriano del Pino bffe4c603e
Refactor cfd tests 3 years ago
Lucas Soriano del Pino 31f1a87d3a
Rename finalize_spend_transaction arguments 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 3 years ago
Lucas Soriano del Pino 641faceb8a
Add renew_cfd_transactions API 3 years ago
Lucas Soriano del Pino 6a21f4e31a
Increase ContractExecutionTransaction::SIGNED_VBYTES constant 3 years ago
Lucas Soriano del Pino 2a9e49ca9a
Take raw lock transaction in CommitTransaction constructor 3 years ago
Lucas Soriano del Pino 5e6f6b4d5a
Use byte strings in tests 3 years ago
Lucas Soriano del Pino e3607c0734
Get rid of unnecessary and unwanted Message type 3 years ago
Lucas Soriano del Pino 658e0cf21f
Fix name of Payout private method 3 years ago
Lucas Soriano del Pino c299c2cdb4
Construct satisfiers using HashMap::from_iter 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 del Pino 5f58be55c7
Simplify imports 3 years ago
Lucas Soriano del Pino 862cf66e66
Convert sighashes to messages non-fallibly 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 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