Commit graph

114 commits

Author SHA1 Message Date
ThomasV
6bfbc9a718 fix: replace remaining occurences of public_key_to_bc_address 2017-01-29 06:34:35 +01:00
ThomasV
3a64ec0f2e Initial segwit support (testnet only) 2017-01-25 21:42:15 +01:00
ThomasV
25e4116393 do not crash tx.serialize if pubkeys are missing. fix #2113 2017-01-16 10:06:28 +01:00
ThomasV
d042d6e970 initial testnet support (petrkr) 2017-01-07 16:58:59 +01:00
neocogent
eb41e23f39 Add more fee info to tx details, update tx estimated_size method. 2016-12-09 12:36:57 +07:00
ThomasV
1e55f4fda0 fix fee computation in sweep 2016-10-08 11:17:53 +02:00
ThomasV
bfd7709ccd move xpubkey logic to keystore and fix it 2016-08-17 15:25:16 +02:00
ThomasV
1159f85e05 Major refactoring
- separation between Wallet and key management (Keystore)
 - simplification of wallet classes
 - remove support for multiple accounts in the same wallet
 - add support for OP_RETURN to Trezor plugin
 - split multi-accounts wallets for backward compatibility
2016-08-12 11:02:28 +02:00
ThomasV
b0f6b8578e fix issue #1865 2016-08-02 10:52:59 +02:00
ThomasV
8e219348e6 fix tx.is_final 2016-07-29 12:53:49 +02:00
ThomasV
f01f931e83 add extra checkbox for RBF 2016-05-23 17:34:33 +02:00
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