OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7b0a24
)
add AssetWhitelist to FederationConfig
author
HAOYUatHZ
<haoyu@protonmail.com>
Thu, 13 Feb 2020 05:58:14 +0000
(13:58 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Thu, 13 Feb 2020 05:58:14 +0000
(13:58 +0800)
config/config.go
patch
|
blob
|
history
diff --git
a/config/config.go
b/config/config.go
index
fa19b30
..
70405a1
100644
(file)
--- a/
config/config.go
+++ b/
config/config.go
@@
-210,8
+210,9
@@
type WebsocketConfig struct {
}
type FederationConfig struct {
- Xpubs []chainkd.XPub `json:"xpubs"`
- Quorum int `json:"quorum"`
+ Xpubs []chainkd.XPub `json:"xpubs"`
+ Quorum int `json:"quorum"`
+ AssetWhitelist []string `json:"asset_whitelist"`
}
// Default configurable rpc's auth parameters.