Page MenuHomePhabricator

Set Monolith opcode enable script flag if monolith enabled
ClosedPublic

Authored by deadalnix on Mar 31 2018, 20:24.

Details

Summary

Sets the SCRIPT_ENABLE_OPCODE_MONOLITH flag if monolith has been enabled

Co-authored-by: Joshua Yabut <yabut.joshua@gmail.com>
Co-authored-by: Marcos Mayorga <mm@mm-studios.com>
Co-authored-by: Daniel Connolly <daniel@dconnolly.com>

Test Plan
make check

Added an integration test for activation.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jasonbcox added inline comments.
src/validation.cpp
1582 ↗(On Diff #3353)

use -> us (I think?)

1586–1587 ↗(On Diff #3353)

For my understanding: despite this transaction not having monolith opcodes enabled, we're treating it as if it does. Is that correct?

This revision is now accepted and ready to land.Mar 31 2018, 22:24
This revision was automatically updated to reflect the committed changes.