Commit graph

12 commits

Author SHA1 Message Date
Andreas Schildbach
538833c906 ByteUtils: rename maxBytes parameter of bigIntegerToBytes()
It's a maximum allowed size rather than a constant size. The
`maxBytes` name makes this clearer.
2025-03-09 21:17:01 +01:00
Sean Gilligan
5edb96cbb8 Bech32: use ByteUtils.concat() in verifyChecksum() 2025-02-25 23:28:45 +01:00
Sean Gilligan
96835143db Bech32: make private verifyChecksum() throw on invalid checksum
This eliminates the last @Nullable annotation in the `base` module.

Since this is a private method and is called for every address
that is parsed, let's not use Optional<>, but move the throw from
decode() to verifyChecksum().
2025-02-25 23:23:18 +01:00
Andreas Schildbach
04e400ea10 build.gradle: update equalsverifier to 3.18.1 2025-01-19 21:31:53 +01:00
Andreas Schildbach
bddcf9d2ca build.gradle: update EasyMock to 5.5.0 2025-01-19 21:07:58 +01:00
Johannes Zweng
cd922bb839 SegwitAddress: allow instantiation of P2A (pay-to-anchor) address 2024-12-15 15:18:55 +01:00
Andreas Schildbach
7a32e7ad4d build.gradle: update equalsverifier to 3.17.3 2024-11-19 13:53:23 +01:00
Andreas Schildbach
c36a6ff51c build.gradle: update SLF4J to 2.0.16 2024-11-19 13:31:24 +01:00
Andrey
e0c20f2bb0 build.gradle, settings.gradle: simplify Gradle version comparisons 2024-10-18 10:08:48 +02:00
Andreas Schildbach
c43ef27167 base, core: remove all references to java.util.Date
This also removes deprecated members.
2024-09-02 13:16:54 +02:00
Sean Gilligan
34627259df base: move base Java package to base module 2024-09-02 03:54:17 +02:00
Sean Gilligan
786599354f base: add new module for foundational types 2024-09-02 03:41:42 +02:00