OSDN Git Service

filter txpool by asset whitelis (#488)
authorHAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Sat, 15 Feb 2020 11:27:46 +0000 (19:27 +0800)
committerGitHub <noreply@github.com>
Sat, 15 Feb 2020 11:27:46 +0000 (19:27 +0800)
commitd68255f22fa60ecaf7e26a1eebcf6ee59374d912
tree2bb1bd45554a26eb253fc688264a90890f9add0c
parentcb7cbe853f41babf892f935896773df131519582
filter txpool by asset whitelis  (#488)

* add AssetWhitelist to FederationConfig

* use []*bc.AssetID for AssetWhitelist

* add (f *FederationAssetFilter) IsDust()

* fix https://github.com/Bytom/vapor/pull/488#discussion_r379226522

* fix https://github.com/Bytom/vapor/pull/488#discussion_r379226868

* fix https://github.com/Bytom/vapor/pull/488/files#r379226149

* fix https://github.com/Bytom/vapor/pull/488/files#r379225830

* convert assetID to lower-case

* golint
cmd/vapord/commands/run_node.go
config/config.go
config/toml.go
node/node.go
protocol/asset_filter.go [new file with mode: 0644]