Skip to content

Commit 885634a

Browse files
committed
Define a maximum tx fee or else zero few is required
1 parent f928dab commit 885634a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/Networks/Blockcore.Networks.Strax/StraxRegTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public StraxRegTest()
3232
//this.DefaultSignalRPort = 37102;
3333
this.MaxTipAge = 2 * 60 * 60;
3434
this.MinTxFee = 10000;
35+
this.MaxTxFee = Money.Coins(1).Satoshi;
3536
this.FallbackFee = 10000;
3637
this.MinRelayTxFee = 10000;
3738
this.RootFolderName = StraxNetwork.StraxRootFolderName;

src/Networks/Blockcore.Networks.Strax/StraxTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public StraxTest()
3232
//this.DefaultSignalRPort = 27102;
3333
this.MaxTipAge = 2 * 60 * 60;
3434
this.MinTxFee = 10000;
35+
this.MaxTxFee = Money.Coins(1).Satoshi;
3536
this.FallbackFee = 10000;
3637
this.MinRelayTxFee = 10000;
3738
this.RootFolderName = StraxNetwork.StraxRootFolderName;

src/Node/Blockcore.Node/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
},
175175
"STRAX (TEST)": {
176176
"commandName": "Project",
177-
"commandLineArgs": "--chain=STRAX -server -iprangefiltering=0 -rpcallowip=127.0.0.1 -rpcbind=127.0.0.1 -rpcpassword=rpcpassword -rpcuser=rpcuser -testnet"
177+
"commandLineArgs": "--chain=STRAX -txindex=1 -server -iprangefiltering=0 -rpcallowip=127.0.0.1 -rpcbind=127.0.0.1 -rpcpassword=rpcpassword -rpcuser=rpcuser -testnet"
178178
},
179179
"STRAX (MAIN/LOCAL)": {
180180
"commandName": "Project",

0 commit comments

Comments
 (0)