Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
chaincfg: Allow non-std transactions on testnet2.
Browse files Browse the repository at this point in the history
The test network should allow any scripts and transaction types that are
valid according to consensus rules as opposed to the more strict
standardness rules that apply to mainnet.  This allows new script forms
and types to be tested before they go to mainnet.

Also, this is the same setting as the previous test network.
  • Loading branch information
davecgh committed Mar 16, 2017
1 parent 6a2ab3b commit 7e57dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chaincfg/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ var TestNet2Params = Params{
BlockUpgradeNumToCheck: 100,

// Mempool parameters
RelayNonStdTxs: false,
RelayNonStdTxs: true,

// Address encoding magics
NetworkAddressPrefix: "T",
Expand Down

0 comments on commit 7e57dbe

Please sign in to comment.