This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from comit-network/some-cleanup
A little polish before release of version 0.4.0
- Loading branch information
Showing
56 changed files
with
410 additions
and
755 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,2 @@ | ||
[package] | ||
name = "blockchain_contracts" | ||
version = "0.3.2" | ||
authors = ["CoBloX developers <[email protected]>"] | ||
edition = "2018" | ||
description = "Blockchain contracts used by COMIT-network daemons to execute cryptographic protocols." | ||
homepage = "https://comit.network/" | ||
repository = "https://github.com/comit-network/blockchain-contracts" | ||
keywords = ["atomic-swaps", "blockchain", "cryptocurrencies", "comit", "htlc"] | ||
categories = ["cryptography::cryptocurrencies"] | ||
readme = "./README.md" | ||
license-file = "./LICENSE.md" | ||
|
||
[dependencies] | ||
byteorder = "1.3" | ||
hex = "0.4" | ||
hex-literal = "0.2" | ||
itertools = "0.8.0" | ||
regex = "1.3" | ||
rust_bitcoin = { version = "0.23", package = "bitcoin", features = ["use-serde"] } | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0" | ||
tiny-keccak = "2.0" | ||
|
||
[dev-dependencies] | ||
failure = "0.1" | ||
lazy_static = "1.4" | ||
log = "0.4" | ||
pretty_env_logger = "0.4" | ||
reqwest = { version = "0.10", features = ["json", "blocking"] } | ||
rust-crypto = "0.2" | ||
spectral = "0.6" | ||
testcontainers = "0.9" | ||
tiny-keccak = { version = "2.0", features = ["keccak"] } | ||
web3 = { version = "0.10", default-features = false, features = ["http"] } | ||
|
||
# These versions need to be changed together with web3, depends on what version of primitive-types ships with web3 | ||
[dev-dependencies.primitive-types] | ||
features = ["rlp"] | ||
version = "0.5.0" | ||
[dev-dependencies.rlp] | ||
version = "0.4.2" | ||
|
||
# This dependency version is set by rust-bitcoin but we need the "recovery" feature on | ||
[dev-dependencies.secp256k1] | ||
features = ["recovery"] | ||
version = "0.17.1" | ||
|
||
|
||
[build-dependencies] | ||
regex = "1.3" | ||
[workspace] | ||
members = ["lib", "print_offsets"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[package] | ||
name = "blockchain_contracts" | ||
version = "0.4.0" | ||
authors = ["CoBloX developers <[email protected]>"] | ||
edition = "2018" | ||
description = "Blockchain contracts used by COMIT-network daemons to execute cryptographic protocols." | ||
homepage = "https://comit.network/" | ||
repository = "https://github.com/comit-network/blockchain-contracts" | ||
keywords = ["atomic-swaps", "blockchain", "cryptocurrencies", "comit", "htlc"] | ||
categories = ["cryptography::cryptocurrencies"] | ||
readme = "../README.md" | ||
license-file = "../LICENSE.md" | ||
|
||
[dependencies] | ||
byteorder = "1" | ||
hex-literal = "0.2" | ||
regex = "1" | ||
rust_bitcoin = { version = "0.25", package = "bitcoin" } | ||
|
||
[dev-dependencies] | ||
failure = "0.1" | ||
lazy_static = "1" | ||
log = "0.4" | ||
hex = "0.4" | ||
pretty_env_logger = "0.4" | ||
reqwest = { version = "0.10", features = ["json", "blocking"] } | ||
rust-crypto = "0.2" | ||
spectral = "0.6" | ||
testcontainers = "0.9" | ||
tiny-keccak = { version = "2", features = ["keccak"] } | ||
web3 = { version = "0.10", default-features = false, features = ["http"] } | ||
serde = { version = "1", features = ["derive"] } | ||
serde_json = "1" | ||
anyhow = "1" | ||
rust_bitcoin = { version = "0.25", package = "bitcoin", features = ["use-serde"] } | ||
|
||
# These versions need to be changed together with web3, depends on what version of primitive-types ships with web3 | ||
[dev-dependencies.primitive-types] | ||
features = ["rlp"] | ||
version = "0.5.0" | ||
[dev-dependencies.rlp] | ||
version = "0.4.2" | ||
|
||
# This dependency version is set by rust-bitcoin but we need the "recovery" feature on | ||
[dev-dependencies.secp256k1] | ||
features = ["recovery"] | ||
version = "0.19" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pub mod hbit; | ||
pub mod witness; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.