|
|
|
@ -4,13 +4,13 @@
@@ -4,13 +4,13 @@
|
|
|
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php. |
|
|
|
|
"""Test block proposals with getblocktemplate.""" |
|
|
|
|
|
|
|
|
|
from test_framework.test_framework import BitcoinTestFramework |
|
|
|
|
from test_framework.util import * |
|
|
|
|
|
|
|
|
|
from binascii import a2b_hex, b2a_hex |
|
|
|
|
from hashlib import sha256 |
|
|
|
|
from struct import pack |
|
|
|
|
|
|
|
|
|
from test_framework.test_framework import BitcoinTestFramework |
|
|
|
|
from test_framework.util import * |
|
|
|
|
|
|
|
|
|
def b2x(b): |
|
|
|
|
return b2a_hex(b).decode('ascii') |
|
|
|
|
|
|
|
|
|