grin/servers/Cargo.toml
e-max 0d36acf01b introduce an async version of stratum server. (#2468)
It seems that current approach stops workring after amount of parallel
connection exceeds ~500. This PR introduces an 'async' feature which
enable asyncronius, tokio based implementation of stratum server.

* fix bug with passing current_difficulty in Handler

I passed in Handler current_difficulty as an u64, so it was copied
and all later changes were ignored. In this commit I pass referece on
RwLock with current_difficulty.

* fix crash in build_block

* improve  error handling

* print error message on unknown error

* replace original server by tokio based one

* fixes after review

* reduce sleep time in mail loop to 5ms
2019-02-09 11:49:58 -08:00

40 lines
1.2 KiB
TOML

[package]
name = "grin_servers"
version = "1.0.1"
authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
description = "Simple, private and scalable cryptocurrency implementation based on the MimbleWimble chain format."
license = "Apache-2.0"
repository = "https://github.com/mimblewimble/grin"
keywords = [ "crypto", "grin", "mimblewimble" ]
workspace = ".."
edition = "2018"
[dependencies]
hyper = "0.12"
futures = "0.1"
http = "0.1"
hyper-staticfile = "0.3"
itertools = "0.7"
lmdb-zero = "0.4.4"
rand = "0.5"
serde = "1"
log = "0.4"
serde_derive = "1"
serde_json = "1"
chrono = "0.4.4"
bufstream = "~0.1"
jsonrpc-core = "~8.0"
tokio = "0.1.11"
grin_api = { path = "../api", version = "1.0.1" }
grin_chain = { path = "../chain", version = "1.0.1" }
grin_core = { path = "../core", version = "1.0.1" }
grin_keychain = { path = "../keychain", version = "1.0.1" }
grin_p2p = { path = "../p2p", version = "1.0.1" }
grin_pool = { path = "../pool", version = "1.0.1" }
grin_store = { path = "../store", version = "1.0.1" }
grin_util = { path = "../util", version = "1.0.1" }
grin_wallet = { path = "../wallet", version = "1.0.1" }
[dev-dependencies]
blake2-rfc = "0.2"