Timeline for Private Brain Key Generation and Public Address Not Matching Java
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:47 | history | edited | CommunityBot |
replaced http://bitcoin.stackexchange.com/ with https://bitcoin.stackexchange.com/
|
|
Apr 26, 2016 at 9:32 | comment | added | dave_thompson_085 |
In the code (where I looked) actually the ctor is protected (and I didn't notice) but the method is public. (1) It's opensource so you could change it. (2) It's Java so you could override with reflection. (3) But the cleanest way is just make a very simple subclass, and use that. And (4) when you do, the result from toBase58 (or toString which just wraps it) is String .
|
|
Apr 25, 2016 at 21:11 | comment | added | John Down | See Java docs: bitcoinj.github.io/javadoc/0.12.3/… | |
Apr 25, 2016 at 16:58 | comment | added | John Down | Can you further explain? The method is protected and I can't access it from my main class. Right now I have: Address output = new VersionChecksummedBytes(0x80,privateKeyByte).toBase58(); | |
Apr 25, 2016 at 3:12 | comment | added | dave_thompson_085 |
@JohnDown yes it's in bitcoinj. It's a class (in Java by convention class names start with uppercase letter and method names start with lowercase letter) and is the superclass of the Address class your code already uses -- that's how I found it.
|
|
Apr 24, 2016 at 5:45 | comment | added | John Down | Where is VersionChecksummedBytes? Is the method part of the bitcoinj library? | |
Apr 24, 2016 at 5:38 | history | edited | dave_thompson_085 | CC BY-SA 3.0 |
added 99 characters in body
|
Apr 24, 2016 at 5:27 | history | answered | dave_thompson_085 | CC BY-SA 3.0 |