Braydon Fuller
|
95b489c306
|
JSDoc: Update Address, PublicKey and PrivateKey so that they are documented.
|
2014-11-26 14:21:45 -05:00 |
Braydon Fuller
|
85ce140aeb
|
Keys: Renamed Privkey to PrivateKey and Pubkey to PublicKey
|
2014-11-25 13:21:53 -05:00 |
Braydon Fuller
|
deb54c5a20
|
Address: Return new instance if `this` isn't already instantiated.
|
2014-11-24 15:47:30 -05:00 |
Braydon Fuller
|
9863b123c0
|
Address: Increase test coverage
|
2014-11-23 15:34:19 -05:00 |
Braydon Fuller
|
3c9cc23501
|
Address: Improved error messages and type, and added inspect prototype for console output.
|
2014-11-21 22:20:44 -05:00 |
Braydon Fuller
|
5ff349758c
|
Address: Fix Buffer data recognition in browsers
|
2014-11-21 19:58:47 -05:00 |
Braydon Fuller
|
0df97a42fe
|
Address: Fix indentation, typos and simplify isValid
|
2014-11-21 19:02:58 -05:00 |
Braydon Fuller
|
8f32063375
|
Address: Add missing semicolons
|
2014-11-21 14:31:34 -05:00 |
Braydon Fuller
|
90341f2ab6
|
Address: Modified interface so that any instance of Address can be assumed to be valid.
|
2014-11-21 14:18:31 -05:00 |
Manuel Araoz
|
4508fb6765
|
fix references to encoding
|
2014-11-21 12:54:56 -03:00 |
Manuel Araoz
|
ca9b8d8f7b
|
use strict to protocol
|
2014-11-20 12:52:32 -03:00 |
Manuel Araoz
|
2bf1ed8f34
|
use strict to crypto
|
2014-11-20 12:16:27 -03:00 |
Braydon Fuller
|
0cd68b5384
|
removed unused module references
|
2014-11-18 11:16:39 -05:00 |
Eric Martindale
|
4b6e9aaf03
|
Improve tests.
|
2014-10-06 15:40:30 -04:00 |
Eric Martindale
|
e8d4786e48
|
CLASSICAL INHERITANCE IS FOR THE DOGS.
|
2014-10-01 19:20:03 -04:00 |
Eric Martindale
|
541196cb5a
|
Re-implement addresses.
|
2014-10-01 16:28:57 -04:00 |
Eric Martindale
|
5f60d26a2b
|
Migrate from Address() to Identity().
|
2014-10-01 16:26:09 -04:00 |
Ryan X. Charles
|
f17d604e44
|
Address().fromHashbuf() convenience method
...useful for when you have the pubkeyhash, but not the version byte.
|
2014-09-18 15:18:53 -07:00 |
Ryan X. Charles
|
ac85264a28
|
Address().fromBuffer(buf);
|
2014-09-17 14:22:18 -07:00 |
Ryan X. Charles
|
4a027e260a
|
Address().fromScript(script)
It is convenient to be able to derive an address directly from a script for
p2sh transactions.
|
2014-09-12 17:49:01 -07:00 |
Ryan X. Charles
|
6a26813955
|
p2sh -> scripthash
more appealing and memorable name
|
2014-09-01 12:06:18 -07:00 |
Ryan X. Charles
|
80625fdbef
|
move static isValid next to instance isValid
...to be easier for developers to parse and distinguish
|
2014-08-28 20:27:45 -07:00 |
Ryan X. Charles
|
356ddcfa4e
|
test invalid address
|
2014-08-28 17:32:08 -07:00 |
Ryan X. Charles
|
ac47796acd
|
.isValid() is more convenient than .validate()
|
2014-08-28 17:30:32 -07:00 |
Ryan X. Charles
|
6b7592d67b
|
add address validation convenience function
|
2014-08-28 15:22:03 -07:00 |
Ryan X. Charles
|
f52e679f93
|
refactor address - use "set" function
...intend for this to become standard throughout the lib
|
2014-08-28 15:18:48 -07:00 |
Ryan X. Charles
|
7c945cdc01
|
add "compressed" feature to pubkeys
...not just privkeys. since, of course, they can be compressed or uncompressed.
|
2014-08-22 17:43:22 -07:00 |
Ryan X. Charles
|
6176ad4a98
|
verify signed messages
...and fix bug where i (recover param) was stored incorrectly
|
2014-08-22 16:15:44 -07:00 |
Ryan X. Charles
|
15f9a99e65
|
message signing
|
2014-08-21 15:50:38 -07:00 |
Ryan X. Charles
|
e6d89a76d7
|
use standard language - hash -> hashbuf
|
2014-08-21 14:00:18 -07:00 |
Ryan X. Charles
|
4cff6a41f4
|
remove "(classname): " from tests
...to reduce the burden on writing new code
|
2014-08-20 13:03:07 -07:00 |
Ryan X. Charles
|
a2512226f8
|
address convenience functions
|
2014-08-13 18:00:41 -04:00 |
Ryan X. Charles
|
3871e43dd8
|
make address more consistent with rest of lib
|
2014-08-09 20:26:03 -07:00 |
Ryan X. Charles
|
862235e57e
|
initial commit
address, base58, base58check, hash all working with tests.
base58check code taken from bitcore.
|
2014-08-06 18:25:45 -07:00 |