mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-04 13:55:23 -05:00
test: fix reference to block processing test in p2p_segwit.py
The block test was renamed from `p2p-fullblocks.py` to
`feature_block.py` in commit ca6523d0c8
(PR #11774).
This commit is contained in:
parent
01b5cfb951
commit
b1488c4dce
1 changed files with 7 additions and 2 deletions
|
@ -8,7 +8,12 @@ import random
|
||||||
import struct
|
import struct
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from test_framework.blocktools import create_block, create_coinbase, add_witness_commitment, WITNESS_COMMITMENT_HEADER
|
from test_framework.blocktools import (
|
||||||
|
WITNESS_COMMITMENT_HEADER,
|
||||||
|
add_witness_commitment,
|
||||||
|
create_block,
|
||||||
|
create_coinbase,
|
||||||
|
)
|
||||||
from test_framework.key import ECKey
|
from test_framework.key import ECKey
|
||||||
from test_framework.messages import (
|
from test_framework.messages import (
|
||||||
BIP125_SEQUENCE_NUMBER,
|
BIP125_SEQUENCE_NUMBER,
|
||||||
|
@ -860,7 +865,7 @@ class SegWitTest(BitcoinTestFramework):
|
||||||
@subtest # type: ignore
|
@subtest # type: ignore
|
||||||
def test_witness_block_size(self):
|
def test_witness_block_size(self):
|
||||||
# TODO: Test that non-witness carrying blocks can't exceed 1MB
|
# TODO: Test that non-witness carrying blocks can't exceed 1MB
|
||||||
# Skipping this test for now; this is covered in p2p-fullblocktest.py
|
# Skipping this test for now; this is covered in feature_block.py
|
||||||
|
|
||||||
# Test that witness-bearing blocks are limited at ceil(base + wit/4) <= 1MB.
|
# Test that witness-bearing blocks are limited at ceil(base + wit/4) <= 1MB.
|
||||||
block = self.build_next_block()
|
block = self.build_next_block()
|
||||||
|
|
Loading…
Add table
Reference in a new issue