This PR also include some addition to certain part of the code
src/types/ have been reworked, so each type is represented by it's own file, all referenced in lib.zig
Created BlockHeader type in types/block_header.zig
Added serde features to Blockheader
Added serde features to Outpoint
Added serde features to Output
Added serde features to Input
Added serde features to Transaction
Added serde features to Script
Added tests for Transaction serde features
a function read_bytes_exact have been added to utils/mem/read.zig
Message struct now takes a pointer to itself in it's internal functions instead of a copy of itself, to increase optimization. References to Message are now var instead of const
It's important to note that BlockHeader might be a type necessary to other contributors
This PR also include some addition to certain part of the code
src/types/
have been reworked, so each type is represented by it's own file, all referenced inlib.zig
BlockHeader
type intypes/block_header.zig
Blockheader
Outpoint
Output
Input
Transaction
Script
Transaction
serde featuresread_bytes_exact
have been added toutils/mem/read.zig
Message
struct now takes a pointer to itself in it's internal functions instead of a copy of itself, to increase optimization. References toMessage
are nowvar
instead ofconst
It's important to note that
BlockHeader
might be a type necessary to other contributors