bitcoin-compat 0.1.19

platform specific code and constant assertions for certain assumptions