dogecoin / libdohj

Java library for adding altcoin support to bitcoinj
Apache License 2.0
107 stars 89 forks source link

update to be compatible with bitcoinj 0.16.1 #63

Closed pvyhnal-generalbytes closed 2 years ago

pvyhnal-generalbytes commented 2 years ago

This is just a quick fix to be able to use some basic functionality. I noticed there is a 0.16 branch after I finshed mine :( so feel free to close this

genesis block initialization was moved to lazy getter in bitcoinj, it could be done here too, but keeping the change small by just adding the field like it was before

alertSigningKey was removed in bitcoinj, removing here too, even though some forks might use it

rnicoll commented 2 years ago

So... mine's in a branch because it doesn't really completely work yet, so if you've tested this and it works, I'd probably merge this and then try rebasing mine.

How was this tested, just so I know?

pvyhnal-generalbytes commented 2 years ago

I only tested dogecoin testnet - signing a transaction (and succesfully sending it - using another tool)