This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Couldn't load subscription status.
- Fork 2.7k
[DO NOT MERGE] Command peer connections from runtime #6863
Closed
kaichaosun
wants to merge
53
commits into
paritytech:master
from
kaichaosun:restrict-node-connection
Closed
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
c908c1c
new node permission pallet
kaichaosun f44a970
runtime api for node ides.
kaichaosun 1c06b8e
refresh node allowlist when import block
kaichaosun 686dd0b
fix more
kaichaosun e12784b
more
kaichaosun 06207c5
use well known keys
kaichaosun 18639a5
rm runtime api
kaichaosun 24a61a2
refactor
kaichaosun 4a87e28
improve node permission module
kaichaosun eb67330
more
kaichaosun c652e07
fix build
kaichaosun 8047858
apply allowlist when init discovery
kaichaosun bc9ef19
fix init peerset
kaichaosun ad07ce6
remove node permission key id
kaichaosun 6d69444
more dispatchable calls, clean logs
kaichaosun 89e7d4c
init in client service
kaichaosun f06d2fe
rm allowlist in peerset
kaichaosun ec778a9
revert backend constraint for client network.
kaichaosun 60a2477
revert more
kaichaosun b32041b
remove local peer ids from list
kaichaosun 04609bc
refactor
kaichaosun dba3175
test node permission pallet
kaichaosun d48636e
Update client/service/src/lib.rs
kaichaosun 6e71cd9
Update client/service/Cargo.toml
kaichaosun b4fb0f3
Update client/service/Cargo.toml
kaichaosun a1080e4
use decode_all
kaichaosun e7eb421
comments and weight
kaichaosun cf86c58
remove node permission from node runtime.
kaichaosun 1f57ed2
WeightInfo
kaichaosun 29bbbb4
fix build
kaichaosun 385876b
Update client/service/src/lib.rs
kaichaosun 00e2aff
format
kaichaosun 6b94f45
Update frame/node-permission/src/lib.rs
kaichaosun 0ea0d05
Update frame/node-permission/src/lib.rs
kaichaosun 6c8210f
Update frame/node-permission/src/lib.rs
kaichaosun b2626c3
Update frame/node-permission/src/lib.rs
kaichaosun 477ca98
Update frame/node-permission/src/lib.rs
kaichaosun 5822801
Update frame/node-permission/src/lib.rs
kaichaosun d389d49
no mut in call param
kaichaosun 6397176
Merge branch 'master' of https://github.com/paritytech/substrate into…
kaichaosun fda845c
rename to node-authorization
kaichaosun c0912c3
refactor more
kaichaosun 46cd901
rename to allow list
kaichaosun 1a81a51
Add node id in events.
kaichaosun 386029e
rename to NodePublicKey
kaichaosun 1f1cace
Merge branch 'master' of https://github.com/paritytech/substrate into…
kaichaosun fdd5afe
primitive type NodePublicKey.
kaichaosun 4aa9ef6
fix tests.
kaichaosun 537210a
Merge branch 'master' of https://github.com/paritytech/substrate into…
kaichaosun 1072e42
update to rc6
kaichaosun 847e4c7
re-export NodePublicKey
kaichaosun c830199
update codec
kaichaosun 14c2389
increase spec version
kaichaosun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,38 @@ | ||
| [package] | ||
| name = "pallet-node-authorization" | ||
| version = "2.0.0-rc6" | ||
| authors = ["Parity Technologies <[email protected]>"] | ||
| edition = "2018" | ||
| license = "Apache-2.0" | ||
| homepage = "https://substrate.dev" | ||
| repository = "https://github.com/paritytech/substrate/" | ||
| description = "FRAME pallet for node authorization" | ||
|
|
||
| [package.metadata.docs.rs] | ||
| targets = ["x86_64-unknown-linux-gnu"] | ||
|
|
||
| [dependencies] | ||
| serde = { version = "1.0.101", optional = true } | ||
| codec = { package = "parity-scale-codec", version = "1.3.4", default-features = false, features = ["derive"] } | ||
| frame-support = { version = "2.0.0-rc6", default-features = false, path = "../support" } | ||
| frame-system = { version = "2.0.0-rc6", default-features = false, path = "../system" } | ||
| sp-core = { version = "2.0.0-rc6", default-features = false, path = "../../primitives/core" } | ||
| sp-io = { version = "2.0.0-rc6", default-features = false, path = "../../primitives/io" } | ||
| sp-runtime = { version = "2.0.0-rc6", default-features = false, path = "../../primitives/runtime" } | ||
| sp-std = { version = "2.0.0-rc6", default-features = false, path = "../../primitives/std" } | ||
|
|
||
| [dev-dependencies] | ||
| hex-literal = "0.2.1" | ||
|
|
||
| [features] | ||
| default = ["std"] | ||
| std = [ | ||
| "serde", | ||
| "codec/std", | ||
| "frame-support/std", | ||
| "frame-system/std", | ||
| "sp-core/std", | ||
| "sp-io/std", | ||
| "sp-runtime/std", | ||
| "sp-std/std", | ||
| ] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.