Ivan Socolsky
5794883eb0
allow either script or toAddress
9 years ago
Ivan Socolsky
6476de0461
remove unused elements in output order array
9 years ago
Kosta Korenkov
2bdc6cf19d
Make API.createTx accept preselected inputs
Add EXTERNAL tx type
It will allow clients to specify inputs and outputs when creating proposals
Extract _validateOutputs method
Use for-loop to simplify and make it fail-fast.
Do not validate outputs for EXTERNAL tx type
Outputs may be of any kind (e.g. OP_RETURN). It is assumed that outputs are validated by caller.
Move output validation to a single place
Check tx and estimate fees for EXTERNAL proposal
Set amount for external proposals
Use changeAddress to determine network
Do not shuffle outputs for EXTERNAL txp
Fix input selection to respect fees
Add more inputs, if we selected exactly the amount to spend, so we avoid 'Insufficient funds for a fee' error
Properly handle UTXO with 0 satoshis
Minor fixes
ignore invalid utxos
10 years ago
Ivan Socolsky
fa58b5b778
restore derivation strategy on txps
9 years ago
Ivan Socolsky
414b4403c4
remove unused method
9 years ago
Ivan Socolsky
714b95b32c
remove derivationStrategy field from txp
9 years ago
Ivan Socolsky
e55983b151
mv Utils.buildTx -> TxProposal
9 years ago
Ivan Socolsky
2bec543c6f
mv Utils.deriveAddress -> Address.derive
9 years ago
Ivan Socolsky
795097bf04
refactor constants+defaults+utils -> common
9 years ago
Ivan Socolsky
eb006c3db3
remove bitcore-wallet-utils dependency
9 years ago
Ivan Socolsky
0b43b3b85c
cache address activity
9 years ago
Ivan Socolsky
b23f412bf3
getLatestNotifications + tests
9 years ago
Matias Alejo Garcia
95e41050bd
add log
9 years ago
Matias Alejo Garcia
a8607fa11b
better insight error handling
add check to getPending
add check to getPending
add tests
rm log
store TXID upon tx completion
monitor accepted txs
change delay
change _checkTxInBlockchain
change _checkTxInBlockchain
rm useless params, refactor txid param
complete tx at fetch
9 years ago
Ivan Socolsky
69ae9a63e7
add script type to address
9 years ago
Ivan Socolsky
595a54322b
correctly build tx proposal on P2PKH
9 years ago
Ivan Socolsky
45b7b65e99
allow p2pkh addresses in 1-of-1
9 years ago
Kosta Korenkov
20af02e24f
Allow arbitrary customData for tx proposals
This way Copay addons may attach related data to proposals
10 years ago
Matias Alejo Garcia
9de8cfcbf2
add raw HEX if tx is "accepted"
9 years ago
Ivan Socolsky
c974cf791a
default address manager to BIP45
9 years ago
Ivan Socolsky
e11da7cec5
remove AddressManager from copayers on BIP44
9 years ago
Ivan Socolsky
d1e318a5b7
v0.2.0
9 years ago
Ivan Socolsky
094e19bc31
use constants form BWU
9 years ago
Ivan Socolsky
3ac0bc5e27
switch tests to bip44
9 years ago
Ivan Socolsky
004890bd6b
use BIP45 by default
10 years ago
Ivan Socolsky
a4f1169aa9
allow addressManager to handle BIP44 derivations
10 years ago
Ivan Socolsky
7d9e43fccc
initialize version field from #create method
10 years ago
Ivan Socolsky
6cba8abc5c
add custom data to copayers
10 years ago
Matias Alejo Garcia
c4e42da677
rm comment
10 years ago
Matias Alejo Garcia
637a1e2d8b
refactor create/fromObj
10 years ago
Matias Alejo Garcia
72ba0b3a58
fix init
10 years ago
Matias Alejo Garcia
e5860141a3
ref mnemonic
10 years ago
Matias Alejo Garcia
0433dc05cb
add backwards compat with bwc
10 years ago
Matias Alejo Garcia
dac564f290
adds addAccess call and tests
10 years ago
Matias Alejo Garcia
edc3bc6713
supports multiple pubkeys per copayer
10 years ago
Matias Alejo Garcia
cfbf184502
removes isTemporaryRequestKey and replaceTemporaryRequestKey feature. No longer supports joining legacy (<0.9) copayers
10 years ago
Ivan Socolsky
3533b60e6b
change fee rounding strategy
10 years ago
Ivan Socolsky
2558dcbbbd
support legacy clients + tests
10 years ago
Ivan Socolsky
26aef25be6
compute total bytes to send max
10 years ago
Ivan Socolsky
5b3671b079
fix tests
10 years ago
Ivan Socolsky
344fc525e0
add fee estimation method to txp
10 years ago
Ivan Socolsky
1603c200b6
add excludeUnconfirmedUtxos arg to txp creation
10 years ago
Gregg Zigler
bc565f671a
get network from first output when multiple outputs in proposal
10 years ago
Ivan Socolsky
15b0f45635
optional html body
10 years ago
Ivan Socolsky
6609814840
test email preferences
10 years ago
Ivan Socolsky
1460bf2128
add language & unit to preferences
Signed-off-by: Ivan Socolsky <jungans@gmail.com>
10 years ago
Ivan Socolsky
7139847709
remove TxProposal#getHeader
10 years ago
Ivan Socolsky
48e0709607
simplify validations on createTx
10 years ago
Ivan Socolsky
dee4a83ded
refactor proposal hash
10 years ago
Gregg Zigler
0a4bf8f77f
proposal header hash and proposal amount should work with multi-output
10 years ago