Better timelocks handling, more consistent interface
Pre-release
Pre-release
Added
TransactionFactory
class that can instantiate either aTransaction
or aSegWitTransaction
from json, hex or bytesAddress
class now have ato_script
method that generates the corresponding scriptPubKey- More high-level interface to
Locktime
andSequence
classes - Absolute and relative timelock solvers are now separated and take
Locktime
/Sequence
as input so that thespend
method can automatically fill in locktime and sequence numbers in the resulting signed transactions
Fixed
- Deserialization interface inconsistencies (see #42)
Backward compatibility
The following changes can break backward compatibility:
TimelockScript
has been renamed toAbsoluteTimelockScript
Transaction
now fails when trying tounhexlify
aSegWitTransaction
and vice versaBaseAddress
has been renamed toAddress
,Address
toClassicAddress