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 (from parent 1:
d8a03ef
)
edit config
author
paladz
<453256728@qq.com>
Thu, 20 Jun 2019 02:52:04 +0000
(10:52 +0800)
committer
paladz
<453256728@qq.com>
Thu, 20 Jun 2019 02:52:04 +0000
(10:52 +0800)
config/config.go
patch
|
blob
|
history
config/toml.go
patch
|
blob
|
history
diff --git
a/config/config.go
b/config/config.go
index
5991e91
..
5c70bf8
100644
(file)
--- a/
config/config.go
+++ b/
config/config.go
@@
-241,11
+241,9
@@
func DefaultWebsocketConfig() *WebsocketConfig {
func DefaultFederationConfig() *FederationConfig {
return &FederationConfig{
Xpubs: []chainkd.XPub{
func DefaultFederationConfig() *FederationConfig {
return &FederationConfig{
Xpubs: []chainkd.XPub{
- xpub("7f23aae65ee4307c38d342699e328f21834488e18191ebd66823d220b5a58303496c9d09731784372bade78d5e9a4a6249b2cfe2e3a85464e5a4017aa5611e47"),
- xpub("585e20143db413e45fbc82f03cb61f177e9916ef1df0012daa8cbf6dbb1025ce8f98e51ae319327b63505b64fdbbf6d36ef916d79e6dd67d51b0bfe76fe544c5"),
- xpub("b58170b51ca61604028ba1cb412377dfc2bc6567c0afc84c83aae1c0c297d0227ccf568561df70851f4144bbf069b525129f2434133c145e35949375b22a6c9d"),
+ xpub("50ef22b3a3fca7bc08916187cc9ec2f4005c9c6b1353aa1decbd4be3f3bb0fbe1967589f0d9dec13a388c0412002d2c267bdf3b920864e1ddc50581be5604ce1"),
},
},
- Quorum:
2
,
+ Quorum:
1
,
}
}
}
}
diff --git
a/config/toml.go
b/config/toml.go
index
8102708
..
6185fce
100644
(file)
--- a/
config/toml.go
+++ b/
config/toml.go
@@
-35,8
+35,8
@@
seeds = ""
var vaporNetConfigTmpl = `chain_id = "vapor"
[p2p]
var vaporNetConfigTmpl = `chain_id = "vapor"
[p2p]
-laddr = "tcp://0.0.0.0:5665
9
"
-seeds = ""
+laddr = "tcp://0.0.0.0:5665
6
"
+seeds = "
52.82.77.112:56656
"
`
// Select network seeds to merge a new string.
`
// Select network seeds to merge a new string.