ThomasV
461cbd357a
support locktime
2016-05-18 11:58:27 +02:00
ThomasV
ede1fbdb1f
support non-final transactions (RBF)
2016-05-16 21:34:26 +02:00
ThomasV
c6d74d9ff9
reformatting
2016-05-16 21:32:58 +02:00
ThomasV
94dbfe6791
fix #1728
2016-03-20 19:05:38 +01:00
ThomasV
9659e8542d
fix transaction parsing from command line
2016-03-16 10:31:33 +01:00
ThomasV
305843999e
Relicensing
2016-02-24 10:20:30 +01:00
ThomasV
74c9a05757
kivy: add OutputList class
2016-02-17 11:40:05 +01:00
ThomasV
eb36884c66
move estimate_fee back to wallet
2016-02-02 12:26:28 +01:00
ThomasV
d200b236ae
replace tx.input, tx.output by methods, so that deserialize calls are encapsulated
2016-01-17 15:04:11 +01:00
ThomasV
321ab10742
detect RBF transactions
2016-01-17 14:28:17 +01:00
ThomasV
0d52911561
define constants for tx output types
2016-01-14 17:15:50 +01:00
ThomasV
da8fce1914
if available, use relayfee from server instead of hard coded value
2016-01-14 16:06:22 +01:00
ThomasV
026f9312a7
fix more type errors caused by jsonrpc (parsing floats and transactions)
2015-12-16 20:17:20 +01:00
ThomasV
30ace570d3
kivy: choice_dialog and load_wallet_by_name
2015-12-16 08:57:47 +01:00
Neil Booth
3eca419ef3
Fix typo.
...
One character makes all the difference.
2015-11-30 23:47:14 +09:00
Neil Booth
93bb09230c
Track tx size directly; calculate fees from that
...
This has several advantages. Fee calculation is now very fast,
as we don't need to keep reserializing the tx. Another is that
we can reason about the fees after adding a change output without
having to add it, recalculate the tx fee, and remove it again.
2015-11-29 15:40:11 +09:00
Neil Booth
a4dd5acc48
Prepare to calculate tx fee given a tx size
2015-11-29 12:41:54 +09:00
Neil Booth
90dee43998
Move estimated_fee to Transaction class
...
It's not a function of the wallet but of the transaction
so it more naturally belongs there.
2015-11-28 21:28:54 +09:00
ThomasV
fbb65416d3
remove --broadcast option for payto, and parse transactions from json 'hex' field
2015-10-20 13:08:32 +02:00
ThomasV
19ec56b923
fix: sign tx inputs with the new low s class
2015-10-18 12:23:21 +02:00
Roman Zeyde
aadbcca6f0
transaction: remove unused mmap-related code
2015-08-31 16:46:51 +03:00
Neil Booth
2d05e7d891
Merge the network and network_proxy
2015-08-31 12:00:38 +09:00
ThomasV
93b674982e
fix tx strip
2015-08-18 16:33:51 +02:00
ThomasV
3f1e4ae3b1
strip spaces from raw tx
2015-08-18 10:17:53 +02:00
ThomasV
5686499eae
fix #1400
2015-08-16 13:50:03 +02:00
ThomasV
6b87256795
sign tx with empty scriptSig inputs
2015-08-07 17:11:42 +02:00
ThomasV
e9f3b21519
Fix transaction update
2015-07-06 00:22:19 +02:00
ThomasV
9947173183
fix tx deserialize
2015-07-05 13:29:02 +02:00
ThomasV
5c2235e54b
make tx.deserialize preserve existing inputs
2015-07-04 17:33:18 +02:00
ThomasV
c224a9ad9d
enable multisig with trezor
2015-07-04 12:10:52 +02:00
ThomasV
56b3c98332
generic m of n multisig
2015-06-27 12:43:29 +02:00
ThomasV
00af3b394b
Merge pull request #1280 from kyuupichan/BIP-LI01
...
Implement BIP-LI01.
2015-06-14 08:08:55 +02:00
Roman Zeyde
c324d21107
transaction: added missing import
...
for "traceback.print_exc(file=sys.stdout)" statement at line 361
2015-06-13 16:58:08 +03:00
ThomasV
16344b43af
fix issue #1282
2015-06-11 08:56:07 +02:00
Neil Booth
98bea614d8
Implement BIP-LI01.
...
No more need to randomly place change.
2015-06-06 22:25:40 +09:00
ThomasV
53a3f00389
add --deserialize option to gettransaction
2015-05-31 08:20:09 +02:00
Neil Booth
79de458101
Preparation for moving the set of verified and unverified txs to the wallet.
...
The verifier will retain responsibility for verification, but will no longer
hold the transaction sets itself.
Change requires_fee to take a wallet.
Add new function add_unverified_tx()
Move get_confirmations() to the wallet from the verifier.
2015-05-07 09:21:08 +09:00
ThomasV
c381fc2194
remove debug message
2015-04-09 19:29:53 +02:00
ThomasV
0503e809d5
fix #1121 : tx.update
2015-04-01 07:57:59 +02:00
Roman Zeyde
9d0aa737e5
transaction: call serialize() before deserialization
2015-03-30 18:28:24 +03:00
ThomasV
e3de121be9
store deserialized tx in/out in wallet file for fast computation
2015-03-30 14:10:46 +02:00
ThomasV
cabd6bbb2c
inputs_to_sign: handle missing num_sig
2015-03-17 07:41:27 +01:00
ThomasV
8852ad5281
fix transaction sweep; fixes #1066
2015-03-08 09:06:40 +01:00
ThomasV
8863b6f294
remove remaining instances of op_return type
2015-01-18 17:23:21 +01:00
dabura667
d166927fd0
Change type to 'script' and remove OP_RETURN
2015-01-19 01:03:46 +09:00
dabura667
b741dd89ca
Added arbitrary outputs
...
write your own output scripts should you be so inclined.
2015-01-18 02:37:44 +09:00
ThomasV
9a6d98f899
display and encode only hex with OP_RETURN
2015-01-15 17:55:10 +01:00
ThomasV
52e9c0b498
fix createrawtransaction, using extended serialization format
2014-12-29 20:26:00 +01:00
ThomasV
477b7c3402
fix issue #961
2014-12-25 17:24:49 +01:00
Tafelpoot
5c12c2bc2f
optimized, cleaned up, commented
2014-11-05 00:37:43 +01:00
ThomasV
c5636be03a
minor fix
2014-10-31 13:17:32 +01:00
ThomasV
16f36ee6e2
Extend transaction serialization, format to handle unsigned inputs where only the address is known, the public key is unknown.
2014-10-31 13:01:16 +01:00
ThomasV
581ed1ed26
separate signtxwithkey and signtxwithwallet, and simplify sign_transaction
2014-10-30 16:36:29 +01:00
Tafelpoot
74c0fa7ada
corrected deserialize
2014-10-30 11:54:43 +01:00
Tafelpoot
bc8f58104c
optimized deserialize and modified assert for multisig
2014-10-30 11:50:18 +01:00
Tafelpoot
d9c5250a6f
removed trailing whitespace and fixed indentation in history widget
2014-10-21 19:05:51 +02:00
ThomasV
3dc69df702
fix tx.sweep
2014-09-09 14:50:42 +02:00
ThomasV
67b9a59d34
better fees estimates
2014-09-07 20:36:29 +02:00
dabura667
14d3b3589d
Show OP_RETURN in tx dialogue
2014-09-07 03:21:44 +09:00
ThomasV
5f4a28a2bb
fix signature_count in coinbase transactions
2014-08-28 22:26:40 +02:00
ThomasV
72d499b1a0
Merge branch 'trezor_plugin' of github.com:m0mchil/electrum into m0mchil-trezor_plugin
2014-08-08 14:56:06 +02:00
ThomasV
10faf75ee7
wallet fixes
2014-07-30 12:46:03 +02:00
m0mchil
a336379aa5
trezor plugin
2014-07-27 14:27:26 +03:00
ThomasV
0207029682
fix: new outputs format and payment requests
2014-07-09 21:21:47 +02:00
ThomasV
1bb00ff5af
store output type explicitly in tuple
2014-07-08 19:38:16 +02:00
ThomasV
e327418f6e
transaction: separate deserialize and update methods
2014-07-07 18:01:43 +02:00
ThomasV
a89abee969
Rewrite accounts and transactions: store pubkeys instead of addresses in order to avoid unnecessary derivations.
2014-07-06 21:10:41 +02:00
ThomasV
2efad717d8
support for OP_RETURN
2014-06-27 17:08:20 +02:00
ThomasV
c742e8c5cf
minor fix
2014-06-24 17:43:23 +02:00
ThomasV
2c7bf3ca1a
detect if wallet can sign tx before showing sign button
2014-06-24 13:22:10 +02:00
ThomasV
b32d0c77a3
fix bug with the order of signatures in tx input
2014-06-23 09:42:07 +02:00
ThomasV
37148b72d4
show number of tx signatures in gui
2014-06-22 12:07:41 +02:00
ThomasV
3f15a8f217
serialize: do not use x_pubkeys if we have enough signatures.
2014-06-21 22:09:35 +02:00
ThomasV
85505c1d8e
cleanup (dead code)
2014-06-21 21:17:40 +02:00
ThomasV
0636ef8b32
compact serialized format for unsigned and partially signed transactions.
2014-06-21 21:06:09 +02:00
ThomasV
52e74ccda1
parse_scriptSig
2014-06-17 13:48:58 +02:00
ThomasV
84954b0778
update calls to is_complete() method. fixes #693
2014-05-21 11:36:37 +02:00
ThomasV
46c0dda3b9
sweep privkeys in gui
2014-05-01 17:35:01 +02:00
ThomasV
c295c79754
fix signrawtransaction
2014-04-27 14:26:15 +02:00
ThomasV
5a02836933
fix input_info for signrawtransaction
2014-04-26 18:44:45 +02:00
ThomasV
e552930d34
sweep command (does not broadcast)
2014-04-25 17:23:26 +02:00
ThomasV
86917c2ff3
handle coinbase transactions explicitly
2014-04-19 10:32:23 +02:00
ThomasV
df59c8e013
fix #563
2014-04-17 18:41:34 +02:00
ThomasV
cba7a5d68d
fix signatures returned by get_address_from_input_script. fixes #653
2014-04-13 14:57:42 +02:00
ThomasV
d30d7b2188
fix #651
2014-04-12 19:53:52 +02:00
ThomasV
f550b452be
transaction: add_signature(), is_complete() methods
2014-04-07 11:03:12 +02:00
ThomasV
02c3bc131e
fix and simplify tx serialization
2014-04-03 21:23:35 +02:00
ThomasV
8e644a4dc8
sort signatures for multisig
2014-04-03 20:48:31 +02:00
ThomasV
df540cb241
move get_keyID to accounts
2014-04-01 23:53:07 +02:00
Michael Wozniak
f5fb6ed194
display locktime for transaction
...
display locktime for transactions if it is greater than 0. Majority of
transactions will not display any value because default is 0.
2014-03-05 16:38:34 -05:00
ThomasV
9d5f39c235
fix createrawtransaction (issue #574 )
2014-03-02 19:24:44 +01:00
ThomasV
7ead6d18f2
fix tx signing with watching only wallets
2013-11-12 11:14:16 +01:00
Bryan Stitt
225d8b83a3
don't use bare except
2013-11-09 21:23:57 -08:00
ThomasV
cf38e1e47c
fix: offline signing
2013-11-01 13:10:27 +01:00
ThomasV
367b11681b
fix offline signing: redeemPubkey was missing
2013-10-08 19:24:22 +02:00
ThomasV
f14d055ad8
choose_tx_from account, and use deterministic signatures (issue #323 )
2013-10-05 21:15:48 +02:00
thomasv
0e06c218d8
fix: tx_hash -> prevout_hash
2013-10-03 18:58:50 +02:00
ThomasV
44edb4e2bb
fix is_complete
2013-09-29 15:34:24 +02:00
ThomasV
3480cb9ef4
cleanup signrawtrasaction and input_info
2013-09-29 15:16:22 +02:00
ThomasV
401c24e4ad
add input_info when transaction is created
2013-09-29 02:43:30 +02:00