Commits on Source (243)
Showing
- .cargo/config 0 additions, 8 deletions.cargo/config
- .cargo/config.toml 13 additions, 0 deletions.cargo/config.toml
- .dockerignore 1 addition, 0 deletions.dockerignore
- .gitlab-ci.yml 433 additions, 185 deletions.gitlab-ci.yml
- .maintain/local-docker-test-network/duniter.Dockerfile 1 addition, 1 deletion.maintain/local-docker-test-network/duniter.Dockerfile
- .vscode/settings.json 3 additions, 2 deletions.vscode/settings.json
- CONTRIBUTING.md 11 additions, 8 deletionsCONTRIBUTING.md
- Cargo.lock 9465 additions, 5103 deletionsCargo.lock
- Cargo.toml 208 additions, 207 deletionsCargo.toml
- README.md 40 additions, 189 deletionsREADME.md
- client/distance/Cargo.toml 42 additions, 0 deletionsclient/distance/Cargo.toml
- client/distance/README.md 3 additions, 0 deletionsclient/distance/README.md
- client/distance/src/lib.rs 186 additions, 0 deletionsclient/distance/src/lib.rs
- distance-oracle/Cargo.toml 49 additions, 0 deletionsdistance-oracle/Cargo.toml
- distance-oracle/README.md 3 additions, 0 deletionsdistance-oracle/README.md
- distance-oracle/src/api.rs 176 additions, 0 deletionsdistance-oracle/src/api.rs
- distance-oracle/src/lib.rs 412 additions, 0 deletionsdistance-oracle/src/lib.rs
- distance-oracle/src/main.rs 60 additions, 0 deletionsdistance-oracle/src/main.rs
- distance-oracle/src/mock.rs 128 additions, 0 deletionsdistance-oracle/src/mock.rs
- distance-oracle/src/tests.rs 101 additions, 0 deletionsdistance-oracle/src/tests.rs
Some changes are not shown.
For a faster browsing experience, only 20 of 264+ files are shown.
.cargo/config
deleted
100644 → 0
.cargo/config.toml
0 → 100644
Source diff could not be displayed: it is too large. Options to address this: view the blob.
[package] | |||
authors = ['Axiom-Team Developers <https://axiom-team.fr>'] | |||
build = 'node/build.rs' | |||
description = 'Crypto-currency software (based on Substrate framework) to operate Ğ1 libre currency' | |||
edition = "2021" | |||
homepage = 'https://duniter.org' | |||
license = 'AGPL-3.0' | |||
name = 'duniter' | |||
repository = 'https://git.duniter.org/nodes/rust/duniter-v2s' | |||
version = '0.3.0' | |||
[package.metadata.docs.rs] | |||
targets = ['x86_64-unknown-linux-gnu'] | |||
[[bin]] | |||
bench = false | |||
name = 'duniter' | |||
path = "node/src/main.rs" | |||
[features] | |||
default = ["gdev"] | |||
g1 = ["g1-runtime"] | |||
gdev = ["gdev-runtime"] | |||
gtest = ["gtest-runtime"] | |||
runtime-benchmarks = [ | |||
#'g1-runtime', | |||
#'g1-runtime/runtime-benchmarks', | |||
'gdev-runtime', | |||
'gdev-runtime/runtime-benchmarks', | |||
#'gtest-runtime', | |||
#'gtest-runtime/runtime-benchmarks', | |||
'sc-client-db/runtime-benchmarks', | |||
] | |||
try-runtime = [ | |||
#"g1-runtime/try-runtime", | |||
"gdev-runtime/try-runtime", | |||
#"gtest-runtime/try-runtime", | |||
"try-runtime-cli" | |||
] | |||
[build-dependencies] | |||
clap = { version = "4.0" } | |||
#clap_complete = { version = "4.0" } | |||
substrate-build-script-utils = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.32' } | |||
[dev-dependencies] | |||
rusty-hook = "^0.11.2" | |||
# Dependencies for specific targets | |||
[target.'cfg(any(target_arch="x86_64", target_arch="aarch64"))'.dependencies] | |||
sc-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32", default-features = false, features = ["wasmtime"] } | |||
sc-service = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32", default-features = false, features = ["wasmtime"] } | |||
sp-trie = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32", features = ["memory-tracker"] } | |||
[dependencies] | |||
# local dependencies | |||
common-runtime = { path = 'runtime/common' } | |||
g1-runtime = { path = 'runtime/g1', optional = true } | |||
gdev-runtime = { path = 'runtime/gdev', optional = true } | |||
gtest-runtime = { path = 'runtime/gtest', optional = true } | |||
pallet-certification = { path = 'pallets/certification' } | |||
pallet-oneshot-account = { path = 'pallets/oneshot-account' } | |||
sp-membership = { path = 'primitives/membership' } | |||
# crates.io dependencies | |||
async-io = "1.3" | |||
clap = { version = "4.0", features = ["derive"] } | |||
clap_complete = { version = "4" } | |||
futures = { version = "0.3.1", features = ["compat"] } | |||
hex = "0.4.3" | |||
jsonrpsee = { version = "0.15.1", features = ["server"] } | |||
lazy_static = "1.4.0" | |||
log = "0.4" | |||
maplit = '1.0.2' | |||
memmap2 = "0.5.0" | |||
serde = "1.0" | |||
serde_json = "1.0.64" | |||
tracing-core = "0.1.28" | |||
# substrate dependencies | |||
frame-benchmarking = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
frame-benchmarking-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
frame-system = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32", default-features = false } | |||
pallet-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
pallet-transaction-payment = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32", default-features = false } | |||
pallet-transaction-payment-rpc = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sc-basic-authorship = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sc-chain-spec = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sc-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32", default-features = false } | |||
sc-client-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sc-consensus = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
babe = { package = "sc-consensus-babe", git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
manual-seal = { package = "sc-consensus-manual-seal", git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sc-client-db = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32", default-features = false } | |||
sc-consensus-uncles = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sc-executor = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sc-finality-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sc-keystore = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sc-network = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sc-rpc-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sc-service = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32", default-features = false } | |||
sc-telemetry = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sc-transaction-pool = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sc-transaction-pool-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-api = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-authority-discovery = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-block-builder = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-blockchain = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-consensus = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-consensus-babe = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-core = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-finality-grandpa = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-inherents = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-io = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-offchain = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-keyring = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-keystore = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-runtime = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-session = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-storage = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-timestamp = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-transaction-pool = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
sp-trie = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
substrate-frame-rpc-system = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32" } | |||
try-runtime-cli = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.32", optional = true } | |||
[workspace] | [workspace] | ||
resolver = "2" | resolver = "2" | ||
members = [ | members = [ | ||
'client/distance', | |||
'distance-oracle', | |||
'end2end-tests', | 'end2end-tests', | ||
'live-tests', | 'live-tests', | ||
'node', | |||
'pallets/authority-members', | |||
'pallets/certification', | 'pallets/certification', | ||
'pallets/distance', | |||
'pallets/duniter-test-parameters', | 'pallets/duniter-test-parameters', | ||
'pallets/duniter-test-parameters/macro', | 'pallets/duniter-test-parameters/macro', | ||
'pallets/duniter-wot', | 'pallets/duniter-wot', | ||
'pallets/identity', | 'pallets/identity', | ||
'pallets/membership', | 'pallets/membership', | ||
'pallets/oneshot-account', | 'pallets/oneshot-account', | ||
'pallets/authority-members', | 'pallets/quota', | ||
'pallets/smith-members', | |||
'pallets/universal-dividend', | 'pallets/universal-dividend', | ||
'pallets/upgrade-origin', | 'pallets/upgrade-origin', | ||
'primitives/distance', | |||
'primitives/membership', | 'primitives/membership', | ||
'resources/weight_analyzer', | |||
'runtime/common', | 'runtime/common', | ||
'runtime/gdev', | 'runtime/gdev', | ||
'xtask', | 'xtask', | ||
] | ] | ||
[workspace.package] | |||
authors = [ | |||
'librelois <c@elo.tf>', | |||
'tuxmain <tuxmain@zettascript.org>', | |||
'c-geek <https://forum.duniter.org/u/cgeek>', | |||
'HugoTrentesaux <https://trentesaux.fr>', | |||
'bgallois <benjamin@gallois.cc>', | |||
'Duniter Developers <https://duniter.org>', | |||
'Axiom-Team Developers <https://axiom-team.fr>', | |||
] | |||
description = 'Crypto-currency software (based on Substrate framework) to operate Ğ1 libre currency' | |||
edition = '2021' | |||
homepage = 'https://duniter.org' | |||
license = 'AGPL-3.0' | |||
repository = 'https://git.duniter.org/nodes/rust/duniter-v2s' | |||
version = '1.0.0' | |||
[workspace.dependencies] | |||
# crates.io dependencies | |||
anyhow = { version = "1.0.81", default-features = false } | |||
base64 = { version = "0.22.1", default-features = false } | |||
countmap = { version = "0.2.0", default-features = false } | |||
ctrlc = { version = "3.4.4", default-features = false } | |||
cucumber = { version = "0.20.2", default-features = false } | |||
env_logger = { version = "0.11.3", default-features = false } | |||
notify = { version = "6.1.1", default-features = false } | |||
portpicker = { version = "0.1.1", default-features = false } | |||
notify-debouncer-mini = { version = "0.4.1", default-features = false } | |||
async-io = { version = "2.3.1", default-features = false } | |||
async-trait = { version = "0.1.78", default-features = false } | |||
thiserror = { version = "1.0.58", default-features = false } | |||
frame-metadata = { version = "16.0.0", default-features = false } | |||
graphql_client = { version = "0.13.0" } | |||
bs58 = { version = "0.5.1", default-features = false } | |||
placeholder = { version = "1.1.4", default-features = false } | |||
clap = { version = "4.5.3" } | |||
clap_complete = { version = "4.5.1" } | |||
reqwest = { version = "0.12.0", default-features = false, features = [ | |||
"rustls-tls", | |||
] } | |||
glob = { version = "0.3.1", default-features = false } | |||
convert_case = { version = "0.6.0", default-features = false } | |||
subweight-core = { version = "3.3.1", default-features = false } | |||
version_check = { version = "0.9.4", default-features = false } | |||
codec = { package = "parity-scale-codec", version = "3.6.9", default-features = false } | |||
enum-as-inner = { version = "=0.5.1", default-features = false } #https://github.com/bluejekyll/trust-dns/issues/1946 | |||
futures = { version = "0.3.30", default-features = false } | |||
tera = { version = "1", default-features = false } | |||
hex = { version = "0.4.3", default-features = false } | |||
jsonrpsee = { version = "0.24.3", default-features = false } # Version should exactly match polkadot one | |||
lazy_static = { version = "1.4.0", default-features = false } | |||
log = { version = "0.4.21", default-features = false } | |||
maplit = { version = '1.0.2', default-features = false } | |||
proc-macro2 = { version = '1.0.79', default-features = false } | |||
quote = { version = '1.0.35', default-features = false } | |||
syn = { version = '2.0.53', default-features = false } | |||
memmap2 = { version = "0.9.4", default-features = false } | |||
num-format = { version = "0.4.4", default-features = false } | |||
smallvec = { version = "1.13.2", default-features = false } | |||
hex-literal = { version = '0.4.1', default-features = false } | |||
scale-info = { version = "2.11.0", default-features = false } | |||
scale-value = { version = "0.14.1", default-features = false } | |||
serde = { version = "1.0.197", default-features = false } | |||
serde_derive = { version = "1.0.197", default-features = false } | |||
serde_yaml = { version = "0.9.33", default-features = false } | |||
serde_json = { version = "1.0.114", default-features = false } | |||
fnv = { version = "1.0.7", default-features = false } | |||
tokio = { version = "1.36.0", default-features = false } | |||
time = { version = "0.3.34", default-features = false } | |||
time-macros = { version = "0.2.17", default-features = false } | |||
num-traits = { version = "0.2.18", default-features = false } | |||
rayon = { version = "1.9.0", default-features = false } | |||
simple_logger = { version = "4.3.3", default-features = false } | |||
bincode = { version = "1.3.3", default-features = false } | |||
dubp-wot = { version = "0.11.1", default-features = false } | |||
flate2 = { version = "1.0.28", default-features = false } | |||
array-bytes = { version = "6.2.2", default-features = false } | |||
parking_lot = { version = "0.12.1" } | |||
# Subxt | |||
subxt = { git = 'https://github.com/paritytech/subxt', tags = '0.41.0', default-features = false } | |||
# local dependencies | |||
weight-analyzer = { path = "resources/weight_analyzer", default-features = false } | |||
common-runtime = { path = 'runtime/common', default-features = false } | |||
dc-distance = { path = 'client/distance', default-features = false } | |||
distance-oracle = { path = 'distance-oracle', default-features = false } | |||
g1-runtime = { path = 'runtime/g1', default-features = false } | |||
gdev-runtime = { path = 'runtime/gdev', default-features = false } | |||
gtest-runtime = { path = 'runtime/gtest', default-features = false } | |||
pallet-authority-members = { path = 'pallets/authority-members', default-features = false } | |||
pallet-certification = { path = 'pallets/certification', default-features = false } | |||
pallet-distance = { path = "pallets/distance", default-features = false } | |||
pallet-duniter-account = { path = 'pallets/duniter-account', default-features = false } | |||
pallet-duniter-test-parameters = { path = 'pallets/duniter-test-parameters', default-features = false } | |||
pallet-duniter-test-parameters-macro = { path = 'pallets/duniter-test-parameters/macro', default-features = false } | |||
duniter-primitives = { path = 'primitives/duniter', default-features = false } | |||
pallet-duniter-wot = { path = 'pallets/duniter-wot', default-features = false } | |||
pallet-identity = { path = 'pallets/identity', default-features = false } | |||
pallet-membership = { path = 'pallets/membership', default-features = false } | |||
pallet-offences = { path = 'pallets/offences', default-features = false } | |||
pallet-oneshot-account = { path = 'pallets/oneshot-account', default-features = false } | |||
pallet-provide-randomness = { path = 'pallets/provide-randomness', default-features = false } | |||
pallet-quota = { path = 'pallets/quota', default-features = false } | |||
pallet-session-benchmarking = { path = 'pallets/session-benchmarking', default-features = false } | |||
pallet-smith-members = { path = 'pallets/smith-members', default-features = false } | |||
pallet-universal-dividend = { path = 'pallets/universal-dividend', default-features = false } | |||
pallet-upgrade-origin = { path = 'pallets/upgrade-origin', default-features = false } | |||
sp-distance = { path = 'primitives/distance', default-features = false } | |||
sp-membership = { path = 'primitives/membership', default-features = false } | |||
# substrate dependencies | |||
pallet-transaction-payment-rpc = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
frame-benchmarking = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
frame-metadata-hash-extension = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
frame-executive = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
frame-support = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
frame-system = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
frame-system-benchmarking = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
frame-system-rpc-runtime-api = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
frame-try-runtime = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-atomic-swap = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-authority-discovery = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-authorship = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-babe = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-balances = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-collective = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-grandpa = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-im-online = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-multisig = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-preimage = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-proxy = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-scheduler = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-session = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-sudo = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-timestamp = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-transaction-payment = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-treasury = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
pallet-utility = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-api = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-arithmetic = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-block-builder = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-client-db = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-client-api = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-consensus-grandpa = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-rpc = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-consensus-grandpa-rpc = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-consensus-babe = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-consensus-babe-rpc = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-blockchain = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-offchain = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-consensus-babe = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-consensus-grandpa = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-core = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-inherents = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-offchain = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-runtime = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-session = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-staking = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-weights = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-transaction-pool = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-version = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-cli = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-service = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-trie = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-authority-discovery = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-genesis-builder = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-keyring = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-consensus = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-core-hashing = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-keystore = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-rpc-api = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
substrate-wasm-builder = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-io = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
substrate-build-script-utils = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0' } | |||
node-primitives = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
frame-benchmarking-cli = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-chain-spec = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-consensus = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-consensus-manual-seal = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-executor = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-telemetry = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-transaction-pool = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-basic-authorship = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-network = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-network-sync = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-network-test = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-utils = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-keystore = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-storage = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-timestamp = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-transaction-storage-proof = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sc-transaction-pool-api = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
sp-state-machine = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
substrate-frame-rpc-system = { git = 'https://github.com/duniter/duniter-polkadot-sdk', branch = 'duniter-substrate-v1.18.0', default-features = false } | |||
# The list of dependencies below (which can be both direct and indirect dependencies) are crates | # The list of dependencies below (which can be both direct and indirect dependencies) are crates | ||
# that are suspected to be CPU-intensive, and that are unlikely to require debugging (as some of | # that are suspected to be CPU-intensive, and that are unlikely to require debugging (as some of | ||
# their debug info might be missing) or to require to be frequently recompiled. We compile these | # their debug info might be missing) or to require to be frequently recompiled. We compile these | ||
... | @@ -163,7 +240,6 @@ members = [ | ... | @@ -163,7 +240,6 @@ members = [ |
# This list is ordered alphabetically. | # This list is ordered alphabetically. | ||
[profile.dev.package] | [profile.dev.package] | ||
blake2 = { opt-level = 3 } | blake2 = { opt-level = 3 } | ||
blake2-rfc = { opt-level = 3 } | |||
blake2b_simd = { opt-level = 3 } | blake2b_simd = { opt-level = 3 } | ||
chacha20poly1305 = { opt-level = 3 } | chacha20poly1305 = { opt-level = 3 } | ||
cranelift-codegen = { opt-level = 3 } | cranelift-codegen = { opt-level = 3 } | ||
... | @@ -171,9 +247,6 @@ cranelift-wasm = { opt-level = 3 } | ... | @@ -171,9 +247,6 @@ cranelift-wasm = { opt-level = 3 } |
crc32fast = { opt-level = 3 } | crc32fast = { opt-level = 3 } | ||
crossbeam-deque = { opt-level = 3 } | crossbeam-deque = { opt-level = 3 } | ||
crypto-mac = { opt-level = 3 } | crypto-mac = { opt-level = 3 } | ||
curve25519-dalek = { opt-level = 3 } | |||
ed25519-dalek = { opt-level = 3 } | |||
flate2 = { opt-level = 3 } | |||
futures-channel = { opt-level = 3 } | futures-channel = { opt-level = 3 } | ||
hashbrown = { opt-level = 3 } | hashbrown = { opt-level = 3 } | ||
hash-db = { opt-level = 3 } | hash-db = { opt-level = 3 } | ||
... | @@ -199,84 +272,12 @@ smallvec = { opt-level = 3 } | ... | @@ -199,84 +272,12 @@ smallvec = { opt-level = 3 } |
snow = { opt-level = 3 } | snow = { opt-level = 3 } | ||
twox-hash = { opt-level = 3 } | twox-hash = { opt-level = 3 } | ||
uint = { opt-level = 3 } | uint = { opt-level = 3 } | ||
wasmi = { opt-level = 3 } | |||
x25519-dalek = { opt-level = 3 } | x25519-dalek = { opt-level = 3 } | ||
yamux = { opt-level = 3 } | yamux = { opt-level = 3 } | ||
zeroize = { opt-level = 3 } | zeroize = { opt-level = 3 } | ||
[profile.release] | [profile.release] | ||
# Link Time Optimization | |||
lto = "thin" | |||
# Substrate runtime requires unwinding. | # Substrate runtime requires unwinding. | ||
panic = "unwind" | panic = "unwind" | ||
[patch.crates-io] | |||
#[patch."https://github.com/duniter/substrate"] | |||
#fork-tree = { path = "../substrate/utils/fork-tree" } | |||
#frame-support = { path = "../substrate/frame/support" } | |||
#frame-support-procedural = { path = "../substrate/frame/support/procedural" } | |||
#frame-support-procedural-tools = { path = "../substrate/frame/support/procedural/tools" } | |||
#frame-system = { path = "../substrate/frame/system" } | |||
#frame-benchmarking = { path = "../substrate/frame/benchmarking" } | |||
#frame-benchmarking-cli = { path = "../substrate/utils/frame/benchmarking-cli" } | |||
#sc-basic-authorship = { path = "../substrate/client/basic-authorship" } | |||
#sc-block-builder = { path = "../substrate/client/block-builder" } | |||
#sc-chain-spec = { path = "../substrate/client/chain-spec" } | |||
#sc-cli = { path = "../substrate/client/cli" } | |||
#sc-client-api = { path = "../substrate/client/api" } | |||
#sc-client-db = { path = "../substrate/client/db" } | |||
#sc-consensus = { path = "../substrate/client/consensus/common" } | |||
#sc-consensus-aura = { path = "../substrate/client/consensus/aura" } | |||
#sc-consensus-babe = { path = "../substrate/client/consensus/babe" } | |||
#sc-consensus-manual-seal = { path = "../substrate/client/consensus/manual-seal" } | |||
#sc-consensus-slots = { path = "../substrate/client/consensus/slots" } | |||
#sc-consensus-uncles = { path = "../substrate/client/consensus/uncles" } | |||
#sc-executor = { path = "../substrate/client/executor" } | |||
#sc-executor-common = { path = "../substrate/client/executor/common" } | |||
#sc-executor-wasmi = { path = "../substrate/client/executor/wasmi" } | |||
#sc-executor-wasmtime = { path = "../substrate/client/executor/wasmtime" } | |||
#sc-finality-grandpa = { path = "../substrate/client/finality-grandpa" } | |||
#sc-keystore = { path = "../substrate/client/keystore" } | |||
#sc-network = { path = "../substrate/client/network" } | |||
#sc-rpc-api = { path = "../substrate/client/rpc-api" } | |||
#sc-service = { path = "../substrate/client/service" } | |||
#sc-telemetry = { path = "../substrate/client/telemetry" } | |||
#sc-transaction-pool = { path = "../substrate/client/transaction-pool" } | |||
#sc-transaction-pool-api = { path = "../substrate/client/transaction-pool/api" } | |||
#sp-api = { path = "../substrate/primitives/api" } | |||
#sp-application-crypto = { path = "../substrate/primitives/application-crypto" } | |||
#sp-arithmetic = { path = "../substrate/primitives/arithmetic" } | |||
#sp-authority-discovery = { path = "../substrate/primitives/authority-discovery" } | |||
#sp-authorship = { path = "../substrate/primitives/authorship" } | |||
#sp-block-builder = { path = "../substrate/primitives/block-builder" } | |||
#sp-blockchain = { path = "../substrate/primitives/blockchain" } | |||
#sp-consensus = { path = "../substrate/primitives/consensus/common" } | |||
#sp-consensus-babe = { path = "../substrate/primitives/consensus/babe" } | |||
#sp-consensus-slots = { path = "../substrate/primitives/consensus/slots" } | |||
#sp-consensus-vrf = { path = "../substrate/primitives/consensus/vrf" } | |||
#sp-core = { path = "../substrate/primitives/core" } | |||
#sp-core-hashing = { path = "../substrate/primitives/core/hashing" } | |||
#sp-core-hashing-proc-macro = { path = "../substrate/primitives/core/hashing/proc-macro" } | |||
#sp-debug-derive = { path = "../substrate/primitives/debug-derive" } | |||
#sp-externalities = { path = "../substrate/primitives/externalities" } | |||
#sp-finality-grandpa = { path = "../substrate/primitives/finality-grandpa" } | |||
#sp-inherents = { path = "../substrate/primitives/inherents" } | |||
#sp-io = { path = "../substrate/primitives/io" } | |||
#sp-keyring = { path = "../substrate/primitives/keyring" } | |||
#sp-keystore = { path = "../substrate/primitives/keystore" } | |||
#sp-maybe-compressed-blob = { path = "../substrate/primitives/maybe-compressed-blob" } | |||
#sp-offchain = { path = "../substrate/primitives/offchain" } | |||
#sp-panic-handler = { path = "../substrate/primitives/panic-handler" } | |||
#sp-rpc = { path = "../substrate/primitives/rpc" } | |||
#sp-runtime = { path = "../substrate/primitives/runtime" } | |||
#sp-session = { path = "../substrate/primitives/session" } | |||
#sp-staking = { path = "../substrate/primitives/staking" } | |||
#sp-state-machine = { path = "../substrate/primitives/state-machine" } | |||
#sp-std = { path = "../substrate/primitives/std" } | |||
#sp-storage = { path = "../substrate/primitives/storage" } | |||
#sp-timestamp = { path = "../substrate/primitives/timestamp" } | |||
#sp-tracing = { path = "../substrate/primitives/tracing" } | |||
#sp-transaction-pool = { path = "../substrate/primitives/transaction-pool" } | |||
#sp-trie = { path = "../substrate/primitives/trie" } | |||
#sp-version = { path = "../substrate/primitives/version" } | |||
#sp-weights = { path = "../substrate/primitives/weights" } | |||
#substrate-prometheus-endpoint = { path = "../substrate/utils/prometheus" } |
client/distance/Cargo.toml
0 → 100644
client/distance/README.md
0 → 100644
client/distance/src/lib.rs
0 → 100644
distance-oracle/Cargo.toml
0 → 100644
distance-oracle/README.md
0 → 100644
distance-oracle/src/api.rs
0 → 100644
distance-oracle/src/lib.rs
0 → 100644
distance-oracle/src/main.rs
0 → 100644
distance-oracle/src/mock.rs
0 → 100644
distance-oracle/src/tests.rs
0 → 100644