Commit Graph

147 Commits

Author SHA1 Message Date
Eric Martindale 6102374875 Full suite of working tests for Identities. 2014-10-06 18:03:20 -04:00
Eric Martindale 14748ae2b5 Make more tests pass with Identity(). 2014-10-06 17:54:20 -04:00
Eric Martindale 2216fd3f96 Merge branch 'v0.8' into identities 2014-10-06 15:41:56 -04:00
Eric Martindale dac2acc743 Clean example for full identities. 2014-10-06 14:00:03 -04:00
Eric Martindale 7c3f1d80d1 remove old examples 2014-10-02 22:35:59 -04:00
Eric Martindale 4dfe9fd13d Update example code. 2014-10-02 22:33:22 -04:00
Eric Martindale 75cf4c4f9a tidy up identity class, add tests. 2014-10-02 22:27:18 -04:00
Eric Martindale 5fc9721647 Add support for identities. 2014-10-02 15:08:44 -04:00
Eric Martindale f01ebd97d2 Buffers, identities, and randomNumbers. 2014-10-01 21:08:06 -04:00
Eric Martindale 43d21e9f02 Remove old tests. 2014-10-01 19:22:41 -04:00
Eric Martindale fb1a193893 Merge branch 'master' of ../fullnode into v0.8
Conflicts:
	.gitignore
	.travis.yml
	README.md
2014-10-01 16:12:01 -04:00
Manuel Aráoz 0977a2c23b Merge pull request #490 from viacoin/op_return
Implement check for OP_RETURN
2014-09-25 08:38:43 -03:00
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
Christopher Jeffrey a426ecb9b8 paypro: fix example server for no-tx argument. 2014-09-15 19:07:28 -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
Christopher Jeffrey 471378b0d8 paypro: example - sign customer transaction after output scripts are altered. 2014-08-19 19:37:10 -07:00
Christopher Jeffrey 786c38834d paypro: example - remove old createTX. 2014-08-18 15:44:44 -07:00
Christopher Jeffrey a90e421818 paypro: example - fix customer createTX for browser. 2014-08-18 15:44:43 -07:00
Christopher Jeffrey 774dacae8d paypro: example - document modular usage of example. 2014-08-18 15:44:43 -07:00
Christopher Jeffrey 76092fb1a3 paypro: example - allow more modularity concerning options. 2014-08-18 15:44:43 -07:00
Christopher Jeffrey da36abcc1e paypro: example - allow user to set options when using example as a module. 2014-08-18 14:25:50 -07:00
Christopher Jeffrey bf77041f1d paypro: example - fix request method. 2014-08-18 14:22:09 -07:00
Christopher Jeffrey 1e57a6d874 paypro: example - remove some comments. 2014-08-18 14:13:24 -07:00
Christopher Jeffrey 253d66994c paypro: example - add privkey option. refactor. 2014-08-18 14:04:26 -07:00
Christopher Jeffrey e93e3d83f4 paypro: example - add --address and --pubkey options. document in readme. 2014-08-18 13:40:14 -07:00
Christopher Jeffrey cc3ca4e571 paypro: example - explain extra arguments in readme file. 2014-08-18 13:36:04 -07:00
Christopher Jeffrey bd227930e1 paypro: example - add extra arguments for experimentation. 2014-08-18 13:06:33 -07:00
Christopher Jeffrey f972baf42c paypro: fix readme file for better explanation. 2014-08-18 13:05:58 -07:00
Maran 5227d33d1d Implement check for OP_RETURN 2014-08-14 18:11:00 +01:00
Christopher Jeffrey 076dab2a47 paypro: example - use strict paypro headers. 2014-08-13 17:11:23 -04:00
Christopher Jeffrey c33eef3689 paypro: example - use GET method for first paypro request. 2014-08-11 19:04:57 -04:00
Christopher Jeffrey 3ff70ac7cc paypro: example - add another higher output to the server outputs. 2014-08-08 14:32:43 -07:00
Christopher Jeffrey 09c034f0c6 paypro: example - show raw hex when receiving Payment. 2014-08-01 19:05:31 -07:00
Christopher Jeffrey 2482541e17 paypro: replace old server address. 2014-08-01 16:15:28 -07:00
Christopher Jeffrey 6415f29fb9 paypro: misc example changes. 2014-08-01 16:11:41 -07:00
Ryan X. Charles 434ba6f0e3 Merge pull request #462 from chjj/paypro_example
paypro: a more complete example of how to use server outputs.
2014-07-28 16:19:41 -04:00
Eric Martindale 7d73c00e12 Add README to payment protocol reference implementation. 2014-07-28 12:08:03 -07:00
Christopher Jeffrey 3582ff32fc paypro: a more complete example of how to use server outputs. 2014-07-25 19:11:57 -07:00
Christopher Jeffrey 85e769b97d paypro: make example work without npm install. 2014-07-25 11:26:47 -07:00
Christopher Jeffrey 8c74b94791 paypro: add payment protocol example. 2014-07-24 23:20:45 -07:00
Manuel Araoz b0d0c2bb35 add example 2014-07-24 17:45:11 -03:00
ethers 1a6ea46f4b a more involved ScriptInterpreter example 2014-07-15 02:02:22 -07:00