bitcoinj/core
Sean Gilligan fae543bb6d StoredBlock: use ByteUtils.bigIntegerToBytes to convert chainWork
This is a fix for Issue #3410 that will allow main net blocks above
849,137 to be processed. As of block 849,138 we can no longer fit
total chainwork in a 12-byte *signed* field. This fix "kicks the can
down the road" by making the field 12-bytes *unsigned*.

We should open a new issue to address the long term need for bigger
values. Note that converting the field to 12-byte unsigned precludes
us from using the most-significant bit as a flag for a new format, but
we should be able to pick some arbitrary value, say 0xA0 as a version
flag and declare that values less than 0xA0 are "unversioned".
2024-06-23 18:49:54 -04:00
..
src StoredBlock: use ByteUtils.bigIntegerToBytes to convert chainWork 2024-06-23 18:49:54 -04:00
build.gradle Prepare 0.17-SNAPSHOT 2024-04-29 20:13:45 +02:00
findbugs.xml Renamespace to org.bitcoinj away from com.google.bitcoin, as bitcoinj is no longer a Google project and being namespaced under com.google causes issues with Sonatype/Maven Central. 2014-09-30 17:05:07 +02:00