node: pass headers option to pool.
This commit is contained in:
parent
cf949569ae
commit
b91d0cd9f1
@ -123,6 +123,7 @@ function FullNode(options) {
|
|||||||
proxyServer: this.options.proxyServer,
|
proxyServer: this.options.proxyServer,
|
||||||
preferredSeed: this.options.preferredSeed,
|
preferredSeed: this.options.preferredSeed,
|
||||||
ignoreDiscovery: this.options.ignoreDiscovery,
|
ignoreDiscovery: this.options.ignoreDiscovery,
|
||||||
|
headers: this.options.headers,
|
||||||
port: this.options.port,
|
port: this.options.port,
|
||||||
spv: false
|
spv: false
|
||||||
});
|
});
|
||||||
|
|||||||
@ -76,6 +76,7 @@ function SPVNode(options) {
|
|||||||
identityKey: this.options.identityKey,
|
identityKey: this.options.identityKey,
|
||||||
maxPeers: this.options.maxPeers,
|
maxPeers: this.options.maxPeers,
|
||||||
ignoreDiscovery: this.options.ignoreDiscovery,
|
ignoreDiscovery: this.options.ignoreDiscovery,
|
||||||
|
headers: this.options.headers,
|
||||||
selfish: true,
|
selfish: true,
|
||||||
spv: true
|
spv: true
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user