Commit Graph

361 Commits

Author SHA1 Message Date
ThomasV faa17f9818 Option to send only confirmed coins (fix #2395) 2017-07-03 07:46:27 +02:00
ThomasV 255458da0a fix #2400 2017-07-02 11:44:48 +02:00
ThomasV 298461aee2 fix #2524: add proper error message 2017-06-30 12:20:19 +02:00
dabura667 af59a526da add input and output addresses to CLI history 2017-05-29 23:51:15 +09:00
Evan Klitzke b391da7957 fix a minor typo (beyong -> beyond) 2017-05-17 11:36:25 -07:00
ThomasV 96c8619194 fix #2298 2017-03-15 06:12:26 +01:00
ThomasV 2d8df85aab use maxint-2 to signal RBF, in order to standardize with Bitcoin Core 2017-03-13 11:03:06 +01:00
ThomasV 608568839e gettransaction command: require network instead of wallet 2017-03-12 12:33:52 +01:00
Janne Pulkkinen f3f82a91fc Fix a typo'd function call preventing paytomany command from working 2017-03-12 09:16:17 +02:00
ThomasV d1ca4f994f fix #2262 2017-03-09 11:57:00 +01:00
ThomasV dcffea150e store contacts and invoices in wallet file. fix #1482 2017-03-06 17:12:27 +01:00
ThomasV cc852ef6a5 Merge pull request #2123 from gdiepen/master
Implemented getunusedaddress command
2017-03-06 12:32:11 +01:00
ThomasV 6977ba603b Merge pull request #2236 from kyuupichan/master
Add support for BU's nolnet
2017-03-06 12:28:45 +01:00
ThomasV 76dd11783b rename load_wallet command 2017-03-05 20:32:06 +01:00
ThomasV b8bdcc0877 rename open close commands 2017-03-05 14:57:41 +01:00
ThomasV 1aeeab9ec6 fix #2231: same serialize/deserialize format 2017-03-04 11:14:44 +01:00
Neil Booth 8888a50549 Add support for BU's nolnet
Also update testnet servers
Add missing self. in print_error call
2017-03-04 11:01:32 +09:00
ThomasV fcc92c1ebd Wallet file encryption:
- a keypair is derived from the wallet password
 - only the public key is retained in memory
 - wallets must opened and closed explicitly with the daemon
2017-03-01 13:58:04 +01:00
ThomasV e30a179c97 fix make_seed arguments 2017-02-22 12:54:17 +01:00
ThomasV 679fc69cf1 do not perform satoshi conversion in the argument parser 2017-02-22 11:23:12 +01:00
ThomasV 1d1d76b1ad workaround argparse issue by reverting their commit 2017-02-22 09:32:35 +01:00
ThomasV aad8b4377c Do not use parents with argument subparsers.
This is a workaround for https://bugs.python.org/issue23058.
As a result, the order of optional arguments is fixed; global options must be placed before the command.
2017-02-21 12:41:24 +01:00
ThomasV 3a64ec0f2e Initial segwit support (testnet only) 2017-01-25 21:42:15 +01:00
Guido Diepen e6f4af9fd5 Implemented getunusedaddress command
The implementation of the getunusedaddress will directly query
the wallet for the first unused address
2017-01-21 08:04:37 +01:00
Thilo Uttendorfer d6be2a4ae2 Fix listunspent command 2017-01-14 23:39:58 +01:00
ThomasV d042d6e970 initial testnet support (petrkr) 2017-01-07 16:58:59 +01:00
ThomasV be15b76c9b allow client daemon to be launched in the foreground (fix #1873) 2017-01-07 10:10:51 +01:00
ThomasV e123774ea8 Improve 'send all coins' function:
* do use coin chooser when sending all coins (fixes #2000)
* allow "!" syntax for multiple outputs (fixes #1698)
2016-12-31 16:29:18 +01:00
ThomasV 36d0dff092 fix #2026 2016-11-08 16:39:04 +01:00
ThomasV 9285a7198e Revert "remove custom entropy option; nobody uses it"
This reverts commit e0c38b31b4.
2016-10-20 10:22:17 +02:00
ThomasV bab15a245b simplification (get rid of get_mnemonic) 2016-10-14 12:09:43 +02:00
ThomasV 49550514af fix: import version 2016-10-11 12:08:56 +02:00
ThomasV 5d44474aeb bound number of tx inputs in sweep 2016-10-08 11:40:03 +02:00
ThomasV 1e55f4fda0 fix fee computation in sweep 2016-10-08 11:17:53 +02:00
ThomasV df6dae90d6 remove the 'deseed' command, it does not work anymore with keystores 2016-10-05 10:53:08 +02:00
ThomasV e0c38b31b4 remove custom entropy option; nobody uses it 2016-10-01 20:38:05 +02:00
ThomasV 5733a5d125 importprivkey: do not import the same key twice 2016-08-17 09:49:58 +02:00
ThomasV 2e9cfb9800 small fixes for addrequest 2016-08-16 12:41:15 +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 5a2ec73367 add RBF option to command line 2016-07-29 12:54:47 +02:00
ThomasV c6a46df158 fix issue #1853 2016-07-01 16:19:26 +02:00
ThomasV 7a1af24eda getprivatekeys: try load_json if we did not get an address 2016-06-11 16:55:19 +02:00
ThomasV e7d1f59987 getmpk command: return only one key 2016-06-11 16:10:45 +02:00
ThomasV a07a3f748e Qt GUI: let users type tx output in script language 2016-06-07 09:57:24 +02:00
ThomasV 0e61408dfa add option to configure electrum_path 2016-05-30 08:58:10 +02:00
ThomasV 1a46a795a5 detect non-final transactions, and transactions with unconfirmed inputs 2016-05-29 19:53:04 +02:00
ThomasV 6b54459833 rename createrawtx -> serialize 2016-05-18 14:33:00 +02:00
ThomasV 31e9670502 make 'createrawtx' command not require wallet 2016-05-16 14:39:01 +02:00
ThomasV 7dbb23e8c6 replace sync command 2016-04-08 20:29:43 +02:00
ThomasV 1b07fb3d17 add 'offline' option only for 'restore' 2016-04-08 16:27:15 +02:00
ThomasV b39b3e3485 add 'sync' command 2016-04-08 16:14:39 +02:00
ThomasV 94dbfe6791 fix #1728 2016-03-20 19:05:38 +01:00
ThomasV 753a28b452 set timeout to 30s for synchronous operations 2016-03-20 13:25:24 +01:00
ThomasV 0e3c3b59c8 fix bug #1715 2016-03-16 12:15:08 +01:00
ThomasV 9659e8542d fix transaction parsing from command line 2016-03-16 10:31:33 +01:00
ThomasV a4903fbf90 remove while loop in getservers 2016-03-12 09:44:43 +01:00
ThomasV 40281a3193 restore 'help' command for the python console 2016-02-29 09:59:45 +01:00
ThomasV 76bf8085fd fix #1688 2016-02-28 05:18:50 +01:00
ThomasV 9cd4acafcc update broadcast command, with timeout 2016-02-25 10:55:37 +01:00
ThomasV 305843999e Relicensing 2016-02-24 10:20:30 +01:00
ThomasV c2db006c86 addrequest: do not set expiration date by default 2016-02-19 13:58:05 +01:00
ThomasV 8b68a742d1 follow up to 2a507b91c1 2016-02-03 11:01:36 +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 0d52911561 define constants for tx output types 2016-01-14 17:15:50 +01:00
ThomasV 0464a1a6b0 remove gtk gui 2016-01-13 15:29:04 +01:00
ThomasV fb8f9e55ef Cleanup main script, with semantic changes:
The --offline flag applies only to GUI.
Commands must use the daemon if a daemon is running, otherwise they are run offline.
Commands that only require the wallet do not have the require_network flag.
2015-12-23 15:59:32 +01:00
ThomasV acbe67fd1f separation between RPC and non-RPC commands. 2015-12-23 10:54:31 +01:00
ThomasV 3bed2e3106 don't wait for wallet sync in rpc commands; instead, show wallet status in status command 2015-12-17 17:54:49 +01:00
ThomasV 026f9312a7 fix more type errors caused by jsonrpc (parsing floats and transactions) 2015-12-16 20:17:20 +01:00
ThomasV 679efe2a66 don't use floats because of rounding errors 2015-12-15 11:33:04 +01:00
ThomasV 95393656aa rename command: notify 2015-12-01 08:58:00 +01:00
ThomasV 9b5b9849d7 add watchaddress command 2015-11-30 10:54:15 +01: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 5bbffb0cbf remove --deserialized option, redundant with deserialize command 2015-10-29 14:44:41 +01:00
ThomasV 369d5d8812 fix #1525 2015-10-29 14:36:50 +01:00
ThomasV bb7b0884e3 Various fixes for command line. Make 'payto' command require network (fixes #1525) 2015-10-29 11:06:09 +01:00
ThomasV 53273b7d40 fix #1523: prevent side-effect of _format_request 2015-10-29 00:09:50 +01:00
ThomasV 511b23fee6 add release notes 2015-10-28 11:45:53 +01:00
ThomasV 142b5532ec revert to previous restore method, without daemon 2015-10-28 11:11:41 +01:00
ThomasV 5b96d5166e fix restore messages 2015-10-28 10:46:01 +01:00
ThomasV 052d8b236e fix #1494 2015-10-28 10:36:44 +01:00
ThomasV 94ac0db91f command line: Require 'text' argument for 'restore'. Replace 'concealed' option with ':' magic word 2015-10-28 09:33:35 +01:00
ThomasV 26682491b2 generic restore from command line 2015-10-27 14:33:41 +01:00
ThomasV fbb65416d3 remove --broadcast option for payto, and parse transactions from json 'hex' field 2015-10-20 13:08:32 +02:00
ThomasV f3bd1662f7 fix web request server. fixes #1455 2015-09-30 11:06:27 +02:00
ThomasV 849cc0200b better help message 2015-09-11 13:07:49 +02:00
ThomasV 458b62f5de commands: add kwargs to wrapper 2015-09-11 11:54:00 +02:00
ThomasV f90ca2684e change paytomany syntax: accept json data instead of csv file 2015-09-09 08:47:30 +02:00
ThomasV d986570c2e fix: func.__doc__ might be None on android 2015-09-07 13:13:04 +02:00
ThomasV 04b9d8fffa Update kivy GUI in order to merge with master 2015-09-03 15:09:45 +02:00
Neil Booth 768adfb337 Fix "restore" further by accepting --mpk 2015-08-31 13:52:18 +09:00
Neil Booth 2d05e7d891 Merge the network and network_proxy 2015-08-31 12:00:38 +09:00
Neil Booth 4d6a0f29ee Fix 'restore' command line to take -C. 2015-08-31 11:34:44 +09:00
ThomasV 92e0744470 Refactoring of daemon:
* gui and daemon are in the same process
 * commands that require network are sent to the daemon
 * open only one gui window per wallet
2015-08-30 11:31:51 +02:00
ThomasV 37034bdf7f listunspent: convert value to float 2015-08-19 11:10:55 +02:00
ThomasV 6bbfef5198 add timestamp to history command output, convert value to float 2015-08-19 11:04:06 +02:00
ThomasV fa9ce51685 deprecate dumpprivkeys 2015-08-16 16:30:55 +02:00
ThomasV 02e81a3655 read command line arguments from stdin if '-' is passed 2015-08-16 16:11:52 +02:00
ThomasV e9b346ed29 add command for master private key 2015-08-14 15:23:50 +02:00