mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-13 10:45:51 +00:00
Make headerParsed, transactionParsed, headerBytesValid and transactionBytesValid protected so subclasses in the same package can access them. Add constructor for use when a block is contained within another object (i.e. AuxPoW header) Make headerParsed, transactionParsed, headerBytesValid and transactionBytesValid protected so subclasses in the same package can access them. Add constructor for use when a block is contained within another object (i.e. AuxPoW header) Add parseTransactions() method which takes in a payload offset, so block parsers can indicate that transactions do not start at byte 80. Extract common interface from BitcoinSerializer to support alternative serializers, as well as dummy serializer for message classes which do not have their network parameters. Thread BitcoinSerializer through messages in place of existing parseLazy and parseRetain properties. Insert dummy serializer into message subclasses when deserialized by Java. Replace calls to construct Block/Transaction classes from payloads, with calls to MessageSerializer, so alternative formats can be supported elegantly. Make headerParsed, transactionParsed, headerBytesValid and transactionBytesValid protected so subclasses in the same package can access them. Add constructor for use when a block is contained within another object (i.e. AuxPoW header) Add parseTransactions() method which takes in a payload offset, so block parsers can indicate that transactions do not start at byte 80.