@@ -41,7 +41,7 @@ import (
41
41
"github.com/ethereum/go-ethereum/common/hexutil"
42
42
"github.com/ethereum/go-ethereum/core"
43
43
"github.com/ethereum/go-ethereum/core/rawdb"
44
- "github.com/ethereum/go-ethereum/core/txpool/legacypool "
44
+ "github.com/ethereum/go-ethereum/core/txpool"
45
45
"github.com/ethereum/go-ethereum/core/types"
46
46
"github.com/ethereum/go-ethereum/core/vm"
47
47
"github.com/ethereum/go-ethereum/crypto"
@@ -334,18 +334,18 @@ var (
334
334
TxPoolJournalFlag = & cli.StringFlag {
335
335
Name : "txpool.journal" ,
336
336
Usage : "Disk journal for local transaction to survive node restarts" ,
337
- Value : ethconfig . Defaults . TxPool .Journal ,
337
+ Value : txpool . DefaultConfig .Journal ,
338
338
Category : flags .TxPoolCategory ,
339
339
}
340
340
TxPoolRejournalFlag = & cli.DurationFlag {
341
341
Name : "txpool.rejournal" ,
342
342
Usage : "Time interval to regenerate the local transaction journal" ,
343
- Value : ethconfig . Defaults . TxPool .Rejournal ,
343
+ Value : txpool . DefaultConfig .Rejournal ,
344
344
Category : flags .TxPoolCategory ,
345
345
}
346
346
TxPoolPriceLimitFlag = & cli.Uint64Flag {
347
347
Name : "txpool.pricelimit" ,
348
- Usage : "Minimum gas price tip to enforce for acceptance into the pool" ,
348
+ Usage : "Minimum gas price limit to enforce for acceptance into the pool" ,
349
349
Value : ethconfig .Defaults .TxPool .PriceLimit ,
350
350
Category : flags .TxPoolCategory ,
351
351
}
@@ -385,6 +385,7 @@ var (
385
385
Value : ethconfig .Defaults .TxPool .Lifetime ,
386
386
Category : flags .TxPoolCategory ,
387
387
}
388
+
388
389
// Performance tuning settings
389
390
CacheFlag = & cli.IntFlag {
390
391
Name : "cache" ,
@@ -1499,7 +1500,7 @@ func setGPO(ctx *cli.Context, cfg *gasprice.Config, light bool) {
1499
1500
}
1500
1501
}
1501
1502
1502
- func setTxPool (ctx * cli.Context , cfg * legacypool .Config ) {
1503
+ func setTxPool (ctx * cli.Context , cfg * txpool .Config ) {
1503
1504
if ctx .IsSet (TxPoolLocalsFlag .Name ) {
1504
1505
locals := strings .Split (ctx .String (TxPoolLocalsFlag .Name ), "," )
1505
1506
for _ , account := range locals {
0 commit comments