Skip to content

Commit

Permalink
pkg: clean up unused params.
Browse files Browse the repository at this point in the history
  • Loading branch information
nodech committed Oct 16, 2023
1 parent 5c287c9 commit 4354484
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion lib/node/spvnode.js
Expand Up @@ -73,7 +73,6 @@ class SPVNode extends Node {
createSocket: this.config.func('create-socket'),
memory: this.config.bool('memory'),
agent: this.config.str('agent'),
selfish: true,
listen: false
});

Expand Down
11 changes: 0 additions & 11 deletions lib/protocol/networks.js
Expand Up @@ -362,14 +362,6 @@ main.names = {

transferLockup: 2 * main.pow.blocksPerDay,

/**
* Amount of time before a transfer
* or revocation is possible.
* @const {Number}
*/

revocationDelay: 14 * main.pow.blocksPerDay,

/**
* Sum of total period and revocation delay.
* @const {Number}
Expand Down Expand Up @@ -695,7 +687,6 @@ testnet.names = {
revealPeriod: 2 * testnet.pow.blocksPerDay,
treeInterval: testnet.pow.blocksPerDay >>> 2,
transferLockup: 2 * testnet.pow.blocksPerDay,
revocationDelay: 4 * testnet.pow.blocksPerDay,
auctionMaturity: (1 + 2 + 4) * testnet.pow.blocksPerDay,
noRollout: false,
noReserved: false
Expand Down Expand Up @@ -850,7 +841,6 @@ regtest.names = {
revealPeriod: 10,
treeInterval: 5,
transferLockup: 10,
revocationDelay: 50,
auctionMaturity: 5 + 10 + 50,
noRollout: false,
noReserved: false
Expand Down Expand Up @@ -1009,7 +999,6 @@ simnet.names = {
revealPeriod: 50,
treeInterval: 2,
transferLockup: 5,
revocationDelay: 25,
auctionMaturity: 25 + 50 + 25,
noRollout: false,
noReserved: false
Expand Down

0 comments on commit 4354484

Please sign in to comment.