Commit Graph

10 Commits

Author SHA1 Message Date
Ryan X. Charles d57613bc91 body is actually defined in the function 2014-09-19 17:41:22 -07:00
Ryan X. Charles f191e93711 make block reading more efficient
...by using streams. This way we don't load all the blocks before parsing them.
We parse them as we go.
2014-09-19 16:40:29 -07:00
Ryan X. Charles 04887db261 update blockreader example to use toJSON 2014-09-18 17:52:43 -07:00
Ryan X. Charles 2ecf1cdcdf Block parsing example
bitcoind saves blocks in files called blk*****.dat. Those files can be piped
into this example, which will parse them and spit out a nice looking string of
all the blocks, which also includes parsed transactions.
2014-09-18 15:20:23 -07:00
Ryan X. Charles 03291f9f89 add ECDSA example 2014-09-16 11:54:38 -07:00
Ryan X. Charles 79d79012d4 fix bug where you can't use isForMe without payloadKeypair
It should be possible to check to see if a message isForMe with only the
scanKeypair, and not the payloadKeypair. There was a bug where only the
scanKeypair was being used to produce the receiveKeypair, but this was a
mistake. Both the scanPubkey and payloadPubkey should be necessary to produce
the receivePubkey, and both the scanPrivkey and payloadPrivkey should be
necessary to produce the receivePrivkey. If an online computer has only the
public keys of both (and the scanPrivkey), then that is good enough to check
for isForMe.
2014-09-12 17:24:00 -07:00
Ryan X. Charles a095341a07 print the public key 2014-09-12 13:37:22 -07:00
Ryan X. Charles 8b875a5926 making a keypair is unnecessary 2014-09-12 13:26:14 -07:00
Ryan X. Charles aa4251bff6 typo 2014-09-12 13:00:52 -07:00
Ryan X. Charles 88f3690ef6 StealthMessage example 2014-09-12 12:55:11 -07:00