Ivan Socolsky
98bdaebbfb
fix testdata
7 years ago
Ivan Socolsky
5fbb262ace
allow copayers with same xpub for different coins
7 years ago
Ivan Socolsky
58cb560b79
select appropriate Bitcore when building/signing tx proposal
7 years ago
Ivan Socolsky
558c6fbc38
derive() -> deriveChild()
8 years ago
Ivan Socolsky
2b2c945339
fix confirmations
Conflicts:
test/integration/server.js
9 years ago
Matias Alejo Garcia
5db61703b4
better tests
9 years ago
Matias Alejo Garcia
35f44b4636
store history cache
9 years ago
Ivan Socolsky
bc9354bf1f
remove tx legacy code
9 years ago
Ivan Socolsky
a998186737
add single-address wallet
9 years ago
Ivan Socolsky
ee7d3bad7f
allow absolute fee when specifying inputs
9 years ago
Ivan Socolsky
c01d1568bb
adapt fee to avoid change below dust
9 years ago
Ivan Socolsky
fdd5255e59
add stop conditions for small utxos
9 years ago
Ivan Socolsky
328f6250be
improve utxo mocking
9 years ago
Ivan Socolsky
dbba3acfa8
new input selection algorithm
9 years ago
Ivan Socolsky
3406f57bbc
rename method
Conflicts:
lib/blockchainexplorers/insight.js
9 years ago
Ivan Socolsky
23cddbe47f
fix broadcasting new proposals
9 years ago
Ivan Socolsky
8cf56c2a3d
remove unused code
9 years ago
Ivan Socolsky
6f196aa1b9
allow fee to be specified on proposal creation
9 years ago
Gabriel Bazán
c71f6c637f
push notifications service subscribe, unsubscribe and tests
9 years ago
Ivan Socolsky
5c75fde169
check new client version for paypro txs
9 years ago
Ivan Socolsky
0ab57133fd
fix tests
9 years ago
Ivan Socolsky
94a376ca33
store cached data in db
9 years ago
Ivan Socolsky
3f35d8f141
return upgrade_needed for legacy clients
9 years ago
Ivan Socolsky
092c3ff37e
make self contained signature keys optional
9 years ago
Ivan Socolsky
87d7a1bd92
tests for proposal signature & signing key
9 years ago
Ivan Socolsky
76831caf50
verify proposal signature over raw tx
9 years ago
Ivan Socolsky
2211847d0c
remove type from txproposal model
9 years ago
Ivan Socolsky
9db456550f
create temporary proposal + test
9 years ago
Ivan Socolsky
563ee14dc1
txproposal.js -> txproposal_legacy.js
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
714b95b32c
remove derivationStrategy field from txp
9 years ago
Ivan Socolsky
c7611231a5
refactor email notification tests into a separate test suite
9 years ago
Ivan Socolsky
7042e240f8
refactor testing setup/teardown in helpers
9 years ago
Ivan Socolsky
c1a456d32a
extract helpers from integration tests
9 years ago