770 Commits (689f444bdf423af9a5241eabfd96c9c98573f363)

Author SHA1 Message Date
Wei Lu 471bc7ed97 skip change if it is not above dust threshold 11 years ago
Wei Lu 90921798cf throws error on insufficient fund 11 years ago
Wei Lu 7c81bfef72 check for dust before creating transaction 11 years ago
Wei Lu 913b48e87f sign tx 11 years ago
Wei Lu 8f0413da98 always assume change output exists when estimating fee 11 years ago
Wei Lu 2dc0f69d00 createTX returns tx with expected inputs and outputs 11 years ago
Wei Lu 3d12d3b038 implement and use txOut.scriptPubKey 11 years ago
Wei Lu 5d79b094d4 remove processOutput and processExistingOutput 11 years ago
Wei Lu b7d65fb757 Transaction is able to estimate fees 11 years ago
Wei Lu e574693594 wallet.outputs[0].output -> wallet.outputs[0].receive 11 years ago
Wei Lu dbb5681366 add tests and refactor wallet.processTx 11 years ago
Wei Lu 83381186d1 add (some) fromAddress and getInType tests to script 11 years ago
Wei Lu c3880c0cdf script.toAddress -> script.getToAddress 11 years ago
Wei Lu c39aa6cb07 minor refactoring 11 years ago
Wei Lu 01dc34d720 throw error when unspent output does not have required keys 11 years ago
Wei Lu 26afbccc98 wallet allows setting unspent outputs 11 years ago
Wei Lu 16dc68cbaa wallet exposes unspent outputs via a getter 11 years ago
Daniel Cousens 164d31ee3d VarInt now uses correct prefix for 64-bit 11 years ago
Daniel Cousens f1414b0d2f Adds verify to ECPubKey 11 years ago
Daniel Cousens a96dfea1f4 Adds compression flag to toHex/toBin and tests 11 years ago
Daniel Cousens f8de9a66da Changes indentation to 2 spaces 11 years ago
Daniel Cousens fc2c495337 Standardizes function signatures 11 years ago
Daniel Cousens 36af0223de Strict comparison operators with 0 11 years ago
Daniel Cousens a062297be2 Uses Array.prototype.foreach for stricter scoping 11 years ago
Daniel Cousens 87453f1828 Fixes variable redeclarations 11 years ago
Daniel Cousens ed137a3b9d Various stylistic changes 11 years ago
Daniel Cousens f580516c06 Removes unused variables 11 years ago
Wei Lu 9358a40500 tabs -> spaces 11 years ago
Daniel Cousens e9fdfecfea Changes default EC*Key.toString behaviour to Hex 11 years ago
Daniel Cousens b40374e332 Changes to new version-less ECKey API 11 years ago
Daniel Cousens a1be488d1b Fixes #78 11 years ago
Kyle Drake 40881a7dd8
add back SIGHASH code to transaction 11 years ago
Kyle Drake 28e146431c
Many cleanups to Transaction, see detailed. 11 years ago
Wei Lu b7861e4336 replace jsbn's rng with module secure-random 11 years ago
Wei Lu 2e6ef6cb85 fix and add tests for addInput 11 years ago
Wei Lu a5ee07f7f6 Add tests to transaction deserialization 11 years ago
Wei Lu 9f2da415ea fix script constructor array check 11 years ago
Wei Lu 31cfb11178 new master key resets accounts and addresses 11 years ago
Pablo Martin 2e26a137d5 require crypto-js/sha256 instead of ./crypto-js/sha256. 11 years ago
Pablo Martin 8f383be325 fix transaction hashing (was using Message.getHash incorrectly). 11 years ago
Wei Lu a7a7999e3f fix Wallet default constructor 11 years ago
Wei Lu b2f010428f store accounts in closure instead of on object 11 years ago
Wei Lu d4f3398d91 remove keys array and usage 11 years ago
Wei Lu 207163704b return private key rather than HD wallet node 11 years ago
Wei Lu 9200479159 getPrivateKey derives key on the fly 11 years ago
Wei Lu ab9e782d14 private a method to generate change addresses 11 years ago
Wei Lu 1212099bfc Wallet address derivation follows bip32/bitcoinj keychain structure 11 years ago
Wei Lu 44012b47b5 change hd wallet constructor to take bytes 11 years ago
Wei Lu 142b847968 HD wallet fromMaterHex allows specifying network 11 years ago
Kyle Drake eb4da5f5c5
remove endian code in index.js nothing is using 11 years ago