Changeset View
Changeset View
Standalone View
Standalone View
test/functional/abc-mempool-accept-txn.py
Show All 9 Lines | |||||
from test_framework.test_framework import ComparisonTestFramework | from test_framework.test_framework import ComparisonTestFramework | ||||
from test_framework.util import (assert_raises_rpc_error, assert_equal) | from test_framework.util import (assert_raises_rpc_error, assert_equal) | ||||
from test_framework.comptool import TestManager, TestInstance | from test_framework.comptool import TestManager, TestInstance | ||||
from test_framework.blocktools import * | from test_framework.blocktools import * | ||||
import time | import time | ||||
from test_framework.key import CECKey | from test_framework.key import CECKey | ||||
from test_framework.script import * | from test_framework.script import * | ||||
import struct | |||||
from test_framework.cdefs import MAX_STANDARD_TX_SIGOPS | from test_framework.cdefs import MAX_STANDARD_TX_SIGOPS | ||||
# Error for too many sigops in one TX | # Error for too many sigops in one TX | ||||
TXNS_TOO_MANY_SIGOPS_ERROR = b'bad-txns-too-many-sigops' | TXNS_TOO_MANY_SIGOPS_ERROR = b'bad-txns-too-many-sigops' | ||||
RPC_TXNS_TOO_MANY_SIGOPS_ERROR = "64: " + \ | RPC_TXNS_TOO_MANY_SIGOPS_ERROR = "64: " + \ | ||||
TXNS_TOO_MANY_SIGOPS_ERROR.decode("utf-8") | TXNS_TOO_MANY_SIGOPS_ERROR.decode("utf-8") | ||||
▲ Show 20 Lines • Show All 239 Lines • Show Last 20 Lines |