2019-03-01 19:00:43 -08:00
|
|
|
[package]
|
2019-08-21 10:23:33 -07:00
|
|
|
name = "solana-core"
|
2019-03-01 19:00:43 -08:00
|
|
|
description = "Blockchain, Rebuilt for Scale"
|
2021-03-10 12:46:17 -08:00
|
|
|
documentation = "https://docs.rs/solana-core"
|
2019-03-12 12:44:51 -07:00
|
|
|
readme = "../README.md"
|
2023-02-23 06:01:54 -08:00
|
|
|
version = { workspace = true }
|
|
|
|
authors = { workspace = true }
|
|
|
|
repository = { workspace = true }
|
|
|
|
homepage = { workspace = true }
|
|
|
|
license = { workspace = true }
|
|
|
|
edition = { workspace = true }
|
2019-03-01 19:00:43 -08:00
|
|
|
|
|
|
|
[badges]
|
|
|
|
codecov = { repository = "solana-labs/solana", branch = "master", service = "github" }
|
|
|
|
|
|
|
|
[dependencies]
|
2023-02-23 06:01:54 -08:00
|
|
|
base64 = { workspace = true }
|
|
|
|
bincode = { workspace = true }
|
|
|
|
bs58 = { workspace = true }
|
2023-07-12 07:15:28 -07:00
|
|
|
bytes = { workspace = true }
|
2023-02-23 06:01:54 -08:00
|
|
|
chrono = { workspace = true, features = ["default", "serde"] }
|
|
|
|
crossbeam-channel = { workspace = true }
|
|
|
|
dashmap = { workspace = true, features = ["rayon", "raw-api"] }
|
|
|
|
eager = { workspace = true }
|
|
|
|
etcd-client = { workspace = true, features = ["tls"] }
|
adds QUIC endpoint for repair service (#33057)
Working towards using QUIC protocol for repair, the commit adds a QUIC
endpoint for repair service.
Outgoing local requests are sent as
struct LocalRequest {
remote_address: SocketAddr,
bytes: Vec<u8>,
num_expected_responses: usize,
response_sender: Sender<(SocketAddr, Vec<u8>)>,
}
to the client-side of the endpoint. The client opens a bidirectional
stream with the LocalRequest.remote_address and once received the
response, sends it down the LocalRequest.response_sender channel.
Incoming requests from remote nodes are received from bidirectional
streams and sent as
struct RemoteRequest {
remote_pubkey: Option<Pubkey>,
remote_address: SocketAddr,
bytes: Vec<u8>,
response_sender: Option<OneShotSender<Vec<Vec<u8>>>>,
}
to the repair-service. The response is received from the receiver end of
RemoteRequest.response_sender channel and send back to the remote node
using the send side of the bidirectional stream.
2023-09-07 11:00:25 -07:00
|
|
|
futures = { workspace = true }
|
2023-02-23 06:01:54 -08:00
|
|
|
histogram = { workspace = true }
|
|
|
|
itertools = { workspace = true }
|
|
|
|
lazy_static = { workspace = true }
|
|
|
|
log = { workspace = true }
|
|
|
|
lru = { workspace = true }
|
|
|
|
min-max-heap = { workspace = true }
|
|
|
|
num_enum = { workspace = true }
|
2023-10-23 20:33:04 -07:00
|
|
|
prio-graph = { workspace = true }
|
2023-07-12 07:15:28 -07:00
|
|
|
quinn = { workspace = true }
|
2023-02-23 06:01:54 -08:00
|
|
|
rand = { workspace = true }
|
|
|
|
rand_chacha = { workspace = true }
|
|
|
|
rayon = { workspace = true }
|
adds QUIC endpoint for repair service (#33057)
Working towards using QUIC protocol for repair, the commit adds a QUIC
endpoint for repair service.
Outgoing local requests are sent as
struct LocalRequest {
remote_address: SocketAddr,
bytes: Vec<u8>,
num_expected_responses: usize,
response_sender: Sender<(SocketAddr, Vec<u8>)>,
}
to the client-side of the endpoint. The client opens a bidirectional
stream with the LocalRequest.remote_address and once received the
response, sends it down the LocalRequest.response_sender channel.
Incoming requests from remote nodes are received from bidirectional
streams and sent as
struct RemoteRequest {
remote_pubkey: Option<Pubkey>,
remote_address: SocketAddr,
bytes: Vec<u8>,
response_sender: Option<OneShotSender<Vec<Vec<u8>>>>,
}
to the repair-service. The response is received from the receiver end of
RemoteRequest.response_sender channel and send back to the remote node
using the send side of the bidirectional stream.
2023-09-07 11:00:25 -07:00
|
|
|
rcgen = { workspace = true }
|
2023-02-23 06:01:54 -08:00
|
|
|
rolling-file = { workspace = true }
|
adds QUIC endpoint for repair service (#33057)
Working towards using QUIC protocol for repair, the commit adds a QUIC
endpoint for repair service.
Outgoing local requests are sent as
struct LocalRequest {
remote_address: SocketAddr,
bytes: Vec<u8>,
num_expected_responses: usize,
response_sender: Sender<(SocketAddr, Vec<u8>)>,
}
to the client-side of the endpoint. The client opens a bidirectional
stream with the LocalRequest.remote_address and once received the
response, sends it down the LocalRequest.response_sender channel.
Incoming requests from remote nodes are received from bidirectional
streams and sent as
struct RemoteRequest {
remote_pubkey: Option<Pubkey>,
remote_address: SocketAddr,
bytes: Vec<u8>,
response_sender: Option<OneShotSender<Vec<Vec<u8>>>>,
}
to the repair-service. The response is received from the receiver end of
RemoteRequest.response_sender channel and send back to the remote node
using the send side of the bidirectional stream.
2023-09-07 11:00:25 -07:00
|
|
|
rustls = { workspace = true }
|
2023-02-23 06:01:54 -08:00
|
|
|
serde = { workspace = true }
|
adds QUIC endpoint for repair service (#33057)
Working towards using QUIC protocol for repair, the commit adds a QUIC
endpoint for repair service.
Outgoing local requests are sent as
struct LocalRequest {
remote_address: SocketAddr,
bytes: Vec<u8>,
num_expected_responses: usize,
response_sender: Sender<(SocketAddr, Vec<u8>)>,
}
to the client-side of the endpoint. The client opens a bidirectional
stream with the LocalRequest.remote_address and once received the
response, sends it down the LocalRequest.response_sender channel.
Incoming requests from remote nodes are received from bidirectional
streams and sent as
struct RemoteRequest {
remote_pubkey: Option<Pubkey>,
remote_address: SocketAddr,
bytes: Vec<u8>,
response_sender: Option<OneShotSender<Vec<Vec<u8>>>>,
}
to the repair-service. The response is received from the receiver end of
RemoteRequest.response_sender channel and send back to the remote node
using the send side of the bidirectional stream.
2023-09-07 11:00:25 -07:00
|
|
|
serde_bytes = { workspace = true }
|
2023-02-23 06:01:54 -08:00
|
|
|
serde_derive = { workspace = true }
|
2023-08-09 13:03:36 -07:00
|
|
|
solana-accounts-db = { workspace = true }
|
2023-02-23 06:01:54 -08:00
|
|
|
solana-bloom = { workspace = true }
|
|
|
|
solana-client = { workspace = true }
|
2023-07-06 10:08:18 -07:00
|
|
|
solana-cost-model = { workspace = true }
|
2023-02-23 06:01:54 -08:00
|
|
|
solana-entry = { workspace = true }
|
|
|
|
solana-frozen-abi = { workspace = true }
|
|
|
|
solana-frozen-abi-macro = { workspace = true }
|
|
|
|
solana-geyser-plugin-manager = { workspace = true }
|
|
|
|
solana-gossip = { workspace = true }
|
|
|
|
solana-ledger = { workspace = true }
|
|
|
|
solana-measure = { workspace = true }
|
|
|
|
solana-metrics = { workspace = true }
|
|
|
|
solana-net-utils = { workspace = true }
|
|
|
|
solana-perf = { workspace = true }
|
|
|
|
solana-poh = { workspace = true }
|
|
|
|
solana-program-runtime = { workspace = true }
|
2023-06-12 15:58:27 -07:00
|
|
|
solana-quic-client = { workspace = true }
|
2023-02-23 06:01:54 -08:00
|
|
|
solana-rayon-threadlimit = { workspace = true }
|
|
|
|
solana-rpc = { workspace = true }
|
|
|
|
solana-rpc-client-api = { workspace = true }
|
|
|
|
solana-runtime = { workspace = true }
|
|
|
|
solana-sdk = { workspace = true }
|
|
|
|
solana-send-transaction-service = { workspace = true }
|
|
|
|
solana-streamer = { workspace = true }
|
|
|
|
solana-tpu-client = { workspace = true }
|
|
|
|
solana-transaction-status = { workspace = true }
|
2023-06-22 09:22:11 -07:00
|
|
|
solana-turbine = { workspace = true }
|
2023-12-18 16:50:41 -08:00
|
|
|
solana-unified-scheduler-pool = { workspace = true }
|
2023-02-23 06:01:54 -08:00
|
|
|
solana-version = { workspace = true }
|
2023-09-19 10:46:37 -07:00
|
|
|
solana-vote = { workspace = true }
|
2023-02-23 06:01:54 -08:00
|
|
|
solana-vote-program = { workspace = true }
|
2023-10-06 15:04:37 -07:00
|
|
|
solana-wen-restart = { workspace = true }
|
2023-03-22 20:57:28 -07:00
|
|
|
strum = { workspace = true, features = ["derive"] }
|
|
|
|
strum_macros = { workspace = true }
|
2023-02-23 06:01:54 -08:00
|
|
|
sys-info = { workspace = true }
|
|
|
|
tempfile = { workspace = true }
|
|
|
|
thiserror = { workspace = true }
|
|
|
|
tokio = { workspace = true, features = ["full"] }
|
|
|
|
trees = { workspace = true }
|
2019-11-21 18:39:29 -08:00
|
|
|
|
2019-03-01 19:00:43 -08:00
|
|
|
[dev-dependencies]
|
2023-09-07 05:52:57 -07:00
|
|
|
assert_matches = { workspace = true }
|
2023-04-25 15:29:19 -07:00
|
|
|
fs_extra = { workspace = true }
|
2023-02-23 06:01:54 -08:00
|
|
|
raptorq = { workspace = true }
|
|
|
|
serde_json = { workspace = true }
|
|
|
|
serial_test = { workspace = true }
|
2023-07-13 17:39:46 -07:00
|
|
|
# See order-crates-for-publishing.py for using this unusual `path = "."`
|
|
|
|
solana-core = { path = ".", features = ["dev-context-only-utils"] }
|
2023-02-23 06:01:54 -08:00
|
|
|
solana-logger = { workspace = true }
|
2023-10-10 18:34:39 -07:00
|
|
|
solana-poh = { workspace = true, features = ["dev-context-only-utils"] }
|
2023-02-23 06:01:54 -08:00
|
|
|
solana-program-runtime = { workspace = true }
|
2023-09-18 16:11:28 -07:00
|
|
|
solana-runtime = { workspace = true, features = ["dev-context-only-utils"] }
|
2023-09-01 07:02:14 -07:00
|
|
|
solana-sdk = { workspace = true, features = ["dev-context-only-utils"] }
|
2023-02-23 06:01:54 -08:00
|
|
|
solana-stake-program = { workspace = true }
|
|
|
|
static_assertions = { workspace = true }
|
|
|
|
systemstat = { workspace = true }
|
|
|
|
test-case = { workspace = true }
|
2019-05-07 22:41:47 -07:00
|
|
|
|
2022-01-20 12:38:42 -08:00
|
|
|
[target."cfg(unix)".dependencies]
|
2023-02-23 06:01:54 -08:00
|
|
|
sysctl = { workspace = true }
|
2022-01-20 12:38:42 -08:00
|
|
|
|
2020-07-06 04:22:23 -07:00
|
|
|
[build-dependencies]
|
2023-02-23 06:01:54 -08:00
|
|
|
rustc_version = { workspace = true }
|
2020-07-06 04:22:23 -07:00
|
|
|
|
2023-07-13 17:39:46 -07:00
|
|
|
[features]
|
|
|
|
dev-context-only-utils = []
|
|
|
|
|
2019-03-18 22:08:21 -07:00
|
|
|
[[bench]]
|
|
|
|
name = "banking_stage"
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "gen_keys"
|
|
|
|
|
2019-05-17 11:09:42 -07:00
|
|
|
[[bench]]
|
|
|
|
name = "sigverify_stage"
|
|
|
|
|
2020-04-16 18:18:28 -07:00
|
|
|
[package.metadata.docs.rs]
|
2021-09-17 13:16:14 -07:00
|
|
|
targets = ["x86_64-unknown-linux-gnu"]
|