mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2025-04-04 19:36:54 +00:00
Compare commits
2 Commits
cd4a4c3978
...
55c70915c8
Author | SHA1 | Date | |
---|---|---|---|
![]() |
55c70915c8 | ||
![]() |
840df58634 |
@ -19,7 +19,7 @@ import (
|
|||||||
// can be contacted on. The "seen" events expire by default after 40 minutes
|
// can be contacted on. The "seen" events expire by default after 40 minutes
|
||||||
// (OwnObservedAddressTTL * ActivationThreshold). The are cleaned up during
|
// (OwnObservedAddressTTL * ActivationThreshold). The are cleaned up during
|
||||||
// the GC rounds set by GCInterval.
|
// the GC rounds set by GCInterval.
|
||||||
var ActivationThresh = 1
|
var ActivationThresh = 4
|
||||||
|
|
||||||
// observedAddrManagerWorkerChannelSize defines how many addresses can be enqueued
|
// observedAddrManagerWorkerChannelSize defines how many addresses can be enqueued
|
||||||
// for adding to an ObservedAddrManager.
|
// for adding to an ObservedAddrManager.
|
||||||
|
@ -55,7 +55,7 @@ var BITMASK_ALL = []byte{
|
|||||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||||
}
|
}
|
||||||
|
|
||||||
var ANNOUNCE_PREFIX = "quilibrium-2.0.0-dusk-"
|
var ANNOUNCE_PREFIX = "quilibrium-2.0.2-dusk-"
|
||||||
|
|
||||||
func getPeerID(p2pConfig *config.P2PConfig) peer.ID {
|
func getPeerID(p2pConfig *config.P2PConfig) peer.ID {
|
||||||
peerPrivKey, err := hex.DecodeString(p2pConfig.PeerPrivKey)
|
peerPrivKey, err := hex.DecodeString(p2pConfig.PeerPrivKey)
|
||||||
|
Loading…
Reference in New Issue
Block a user