Thomas Eizinger
d994c0b676
Merge pull request #105 from comit-network/dependabot/cargo/tracing-0.1.28
Bump tracing from 0.1.26 to 0.1.28
3 years ago
Thomas Eizinger
e85c61b4e2
Merge pull request #106 from comit-network/dependabot/cargo/bitcoin-0.27.1
Bump bitcoin from 0.27.0 to 0.27.1
3 years ago
Philipp Hoenisch
88554de160
Log username and password
3 years ago
dependabot[bot]
ba22554a1c
Bump tracing from 0.1.26 to 0.1.28
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.26 to 0.1.28.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.28 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Thomas Eizinger
a64b4abff4
Merge pull request #104 from comit-network/dependabot/cargo/rust_decimal_macros-1.16.0
Bump rust_decimal_macros from 1.15.0 to 1.16.0
3 years ago
Thomas Eizinger
f2dcd8630c
Merge pull request #103 from comit-network/dependabot/cargo/tracing-subscriber-0.2.24
Bump tracing-subscriber from 0.2.20 to 0.2.24
3 years ago
dependabot[bot]
14d1ac53ca
Bump bitcoin from 0.27.0 to 0.27.1
Bumps [bitcoin](https://github.com/rust-bitcoin/rust-bitcoin ) from 0.27.0 to 0.27.1.
- [Release notes](https://github.com/rust-bitcoin/rust-bitcoin/releases )
- [Changelog](https://github.com/rust-bitcoin/rust-bitcoin/blob/0.27.1/CHANGELOG.md )
- [Commits](https://github.com/rust-bitcoin/rust-bitcoin/compare/0.27.0...0.27.1 )
---
updated-dependencies:
- dependency-name: bitcoin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
d6865981e6
Bump rust_decimal_macros from 1.15.0 to 1.16.0
Bumps [rust_decimal_macros](https://github.com/paupino/rust-decimal ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/paupino/rust-decimal/releases )
- [Commits](https://github.com/paupino/rust-decimal/commits )
---
updated-dependencies:
- dependency-name: rust_decimal_macros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
2638f573b6
Bump tracing-subscriber from 0.2.20 to 0.2.24
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.20 to 0.2.24.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.20...tracing-subscriber-0.2.24 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Thomas Eizinger
9325070974
Merge pull request #89 from comit-network/maker-auth
3 years ago
Daniel Karzel
65a6345c3e
Merge pull request #97 from comit-network/lock-on-chain
Transaction publication
3 years ago
Daniel Karzel
de66e85d73
Successful publication of lock tx
3 years ago
Thomas Eizinger
c5c6f0df69
Ensure credentials are passed along with API requests
3 years ago
Thomas Eizinger
dda021b37c
Password protect the maker's routes
3 years ago
Philipp Hoenisch
468759e5ca
Merge pull request #99 from comit-network/tracing
3 years ago
Daniel Karzel
a97d3d62bc
Merge pull request #93 from comit-network/contract-setup-fixes
Successful `ContractSetup` phase
3 years ago
Philipp Hoenisch
90ae8ef154
Enable rocket logs by default
3 years ago
Daniel Karzel
d647a69795
Successful `ContractSetup` phase
3 years ago
Thomas Eizinger
47c2fee8c6
Replace axios with fetch
No need for a dependency for simple HTTP requests.
3 years ago
Thomas Eizinger
3cd28e92e0
Remove dead code
3 years ago
Thomas Eizinger
f2445ee8e5
Reformat impl of `derive_extended_priv_key`
3 years ago
Daniel Karzel
b6bb36266d
Remove snapshot tests
These tests don't really add much value anymore.
They were initially added for making sure we don't break the API towards the UI, but we introduced a separate model for that in the meanwhile.
One could still argue that these tests ensure backwards compatibility for the cfd state in the DB, but that is not important at the moment.
Since we have more complex states now it is quite a pain to maintain these tests now - without getting much out.
3 years ago
Lucas Soriano del Pino
8e4d3254f2
Add close_transaction API to cfd_protocol lib
3 years ago
Philipp Hoenisch
1fd4745319
Use logger instead of println
3 years ago
Philipp Hoenisch
382e7095e8
Add logging library and initialize by default
3 years ago
Philipp Hoenisch
8b390354e8
Merge pull request #95 from comit-network/embed_frontend
Embed maker/taker frontend into binary
3 years ago
Lucas Soriano
bb5768ca84
Merge pull request #81 from comit-network/interval
Construct `Payout` based on interval
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)
It does the same job for us and it makes it easier to move things
around later.
3 years ago
Lucas Soriano del Pino
d3440f9733
Use Oracle::MAX_DIGITS where possible in tests
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
And move the protocol to a `protocol` sub-module.
3 years ago
Lucas Soriano del Pino
8122cd7b79
Prove that signing a price works
And fix bugs along the way.
3 years ago
Lucas Soriano del Pino
000b64818e
Simplify test oracle attest API
3 years ago
Lucas Soriano del Pino
0939aba57e
Remove rand_chacha
We don't need to use seedable RNG in our tests.
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
Philipp Hoenisch
28cc157cee
Add ext trait to convert EmbeddedFile to Response
3 years ago
Philipp Hoenisch
6ec95eef7a
Embed maker/taker frontend into binary
Note: we need to check-in `frontend/dist` directories as otherwise the build will fail.
If you want to embed the files into the binaries you will need to build them first (`yarn run build`).
3 years ago
Daniel Karzel
71a69d5c97
Merge pull request #92 from comit-network/remove-adaptor-signature-wrapper
Remove `AdaptorSignature` wrapper
3 years ago
Daniel Karzel
17471c9196
Remove `AdaptorSignature` wrapper in favor of latest `rust-secp256k1-zkp`
`EcdsaAdaptorSignature` implements `Serialize` and `Deserialize` on latest master of `rust-secp256k1-zkp` so we can remove the wrapper.
3 years ago
Daniel Karzel
685e73b747
Merge pull request #91 from comit-network/cleanup-refund-threshold
Remove duplicated refund timelock block calculation
3 years ago
Daniel Karzel
6626a76d0d
Remove duplicated refund timelock block calculation
3 years ago