diff options
| author | Gavin Andresen <[email protected]> | 2014-06-17 14:18:13 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2014-06-23 15:09:52 -0400 |
| commit | 7f3b4e95695d50a4970e6eb91faa956ab276f161 (patch) | |
| tree | 8e48b2c9616d70d7fe09a70f87f746d8b2e5d961 /src/init.cpp | |
| parent | Merge pull request #4395 (diff) | |
| download | discoin-7f3b4e95695d50a4970e6eb91faa956ab276f161.tar.xz discoin-7f3b4e95695d50a4970e6eb91faa956ab276f161.zip | |
Relax IsStandard rules for pay-to-script-hash transactions
Relax the AreInputsStandard() tests for P2SH transactions --
allow any Script in a P2SH transaction to be relayed/mined,
as long as it has 15 or fewer signature operations.
Rationale: https://gist.github.com/gavinandresen/88be40c141bc67acb247
I don't have an easy way to test this, but the code changes are
straightforward and I've updated the AreInputsStandard unit tests.
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions