Commit graph

4 commits

Author SHA1 Message Date
nia
0f767f3f83 finance: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 10:26:00 +00:00
nia
b7161897ed finance: Remove SHA1 hashes for distfiles 2021-10-07 13:53:49 +00:00
adam
97e719afa6 py-bitcoinlib: 0.11.0
v0.11.0
Bech32 implementation
Segwit implementation (for P2WSH and P2WPKH transactions) and examples
Use libsecp256k1 for signing
Implement OP_CHECKSEQUENCEVERIFY
2020-04-11 14:08:10 +00:00
adam
92859e6910 py-bitcoinlib: updated to 0.10.2
v0.10.2
Note: this will be the last release of python-bitcoinlib with Python 2.7 compatibility.

New RPC generatetoaddress(self,numblocks,addr).
Fixed Python 2.7 incompatibility.
Various OpenSSL fixes, including a memory leak.

v0.10.1
Identical in every way to v0.10.0, but re-uploaded under a new version to fix a PyPi issue.

v0.10.0
Minor breaking change: RPC port for regtest updated to the new v0.16.0 default.

Other changes:
Now looks for .cookie files in the datadir, if specified.
Authentication in a RPC service_url is now parsed.
Implemented bip-0037 version message.
contrib/verify-commits/ removed for now due to breakage.

v0.9.0
Now supports segwit, which breaks the API in minor ways from v0.8.0. This version introduces lots of new API functionality related to this, such as the new CScriptWitness, CTxInWitness, CTxWitness, new segwit-specific logic in SignatureHash() etc.

v0.8.0
Major breaking API change!

While this interim release doesn't by itself include segwit support, it does change the name of the CTransaction/CMutableTransaction method GetHash() to GetTxid() to prepare for a future segwit-enabled release. Incorrect calls to GetHash() will now raise a AttributeError exception with an explanation.

Since this release doesn't yet include segwit support, you will need to set the Bitcoin Core -rpcserialversion=0 option, either as a command line argument, or in your bitcoin.conf file. Otherwise the RPC interface will return segwit-serialized transactions that this release's RPC support doesn't understand.

Other changes:
Cookie file RPC authentication is now supported.
msg_header now correctly uses CBlockHeader rather than CBlock.
RPC getbalance now supports include_watchonly
RPC unlockwallet is now supported

v0.7.0
Breaking API changes:
The 'cooked' CScript iterator now returns OP_0 for the empty binary string rather than b''

The alias JSONRPCException = JSONRPCError has been removed. This alias was added for compatibility with v0.4.0 of python-bitcoinlib.

Where appropriate, RPC_INVALID_ADDRESS_OR_KEY errors are now caught properly, which means that rather than raising IndexError, RPC commands such as getblock may raise JSONRPCError instead. For instance during initial startup previously python-bitcoinlib would incorrectly raise IndexError rather than letting the callee know that RPC was unusable. Along those lines, JSONRPCError subclasses have been added for some (but not all!) of the types of RPC errors Bitcoin Core returns.

Bugfixes:
Fixed a spurious AttributeError when bitcoin.rpc.Proxy() fails.

v0.6.1
New features:
getblockheader RPC call now supports the verbose option; there's no other way to get the block height, among other things, from the RPC interface.
subtoaddress and sendmany RPC calls now support comment and subtractfeefromamount arguments.

v0.6.0
Breaking API changes:
RPC over SSL support removed to match Bitcoin Core's removal of RPC SSL support in v0.12.0 If you need this, use an alternative such as a stunnel or a SSH tunnel.

Removed SCRIPT_VERIFY constants bitcoin.core.script, leaving just the constants in bitcoin.core.scripteval; being singletons the redundant constants were broken anyway.

SCRIPT_VERIFY_EVEN_S renamed to SCRIPT_VERIFY_LOW_S to match Bitcoin Core's naming

SCRIPT_VERIFY_NOCACHE removed as Bitcoin Core no longer has it (and we never did anything with it anyway)

v0.5.1
Various small bugfixes; see git history.

New features:
New RPC calls: fundrawtransaction, generate, getblockheader
OP_CHECKLOCKTIMEVERIFY opcode constant

v0.5.0
Major fix: Fixed OpenSSL related crashes on OSX and Arch Linux. Big thanks to everyone who helped fix this!

Breaking API changes:
Proxy no longer has __getattr__ to support arbitrary methods. Use RawProxy or Proxy.call instead. This allows new wrappers to be added safely. See docstrings for details.
New features:

New RPC calls: getbestblockhash, getblockcount, getmininginfo
Signing and verification of Bitcoin Core compatible messages. (w/ pubkey recovery)
Tox tests
Sphinx docs

Notable bugfixes:
getinfo() now works where disablewallet=1

v0.4.0
Major fix: OpenSSL 1.0.1k rejects non-canonical DER signatures, which Bitcoin Core does not, so we now canonicalize signatures prior to passing them to OpenSSL. Secondly we now only generate low-S DER signatures as per BIP62.

API changes that might break compatibility with existing code:

MAX_MONEY is now a core chain parameter
MainParams now inherits from CoreMainParams rather than CoreChainParams
str() now returns hash:n format; previously was same as repr()
RawProxy() no longer has _connection parameter

Notable bugfixes:
MsgSerializable.to_bytes() no longer clobbers testnet params
HTTPS RPC connections now use port 443 as default
No longer assumes bitcoin.conf specifes rpcuser

New features:
New RPC calls: dumpprivkey, importaddress
Added P2P support for msg_notfound and msg_reject
Added support for IPv6 addr messages
2019-11-25 18:24:49 +00:00