WIP: Feature/6/jeffreypicard/dockerize for deployment #7

Closed
jeffreypicard wants to merge 80 commits from feature/6/jeffreypicard/dockerize-for-deployment into master
Showing only changes of commit c7b2007e9c - Show all commits

View file

@ -2628,6 +2628,8 @@ func newServer(listenAddrs, agentBlacklist, agentWhitelist []string,
db database.DB, chainParams *chaincfg.Params, db database.DB, chainParams *chaincfg.Params,
interrupt <-chan struct{}) (*server, error) { interrupt <-chan struct{}) (*server, error) {
startupTime := time.Now()
services := defaultServices services := defaultServices
if cfg.NoPeerBloomFilters { if cfg.NoPeerBloomFilters {
services &^= wire.SFNodeBloom services &^= wire.SFNodeBloom
@ -2971,7 +2973,7 @@ func newServer(listenAddrs, agentBlacklist, agentWhitelist []string,
s.rpcServer, err = newRPCServer(&rpcserverConfig{ s.rpcServer, err = newRPCServer(&rpcserverConfig{
Listeners: rpcListeners, Listeners: rpcListeners,
StartupTime: time.Now().Unix(), StartupTime: startupTime.Unix(),
ConnMgr: &rpcConnManager{&s}, ConnMgr: &rpcConnManager{&s},
SyncMgr: &rpcSyncMgr{&s, s.syncManager}, SyncMgr: &rpcSyncMgr{&s, s.syncManager},
TimeSource: s.timeSource, TimeSource: s.timeSource,