SomberNight
66cce115ef
more robust commands.getprivatekeys() and bitcoin.is_segwit_address()
2017-11-19 23:46:59 +01:00
Justin Turner Arthur
857eb4ac1d
Remove unused imports. Explicitly import a few deep imports.
2017-11-13 02:28:00 -06:00
Justin Turner Arthur
9a0aa9b478
Remove Python 2 support imports.
2017-11-13 02:26:48 -06:00
Justin Turner Arthur
07629e12af
Fixes to signing, notify commands and command exception handling.
2017-11-12 16:15:06 -06:00
Antoine Riard
213798cfce
[fix clearrequests] error iteration dictionary changed size
2017-11-09 11:54:25 -05:00
Dan Haiduc
5e589133c9
Update commands: output str(Decimals), not floats
...
The commands `listunspent` and `history` were using float.
Patched to consistently return strings of Decimal objects.
2017-10-20 21:35:18 +03:00
Antoine Riard
9ebca74724
fix: check_seed command import path
2017-10-20 12:03:02 -04:00
SomberNight
f69f6a88e0
py3: signmessage cmd now again returns str
2017-10-17 20:15:33 +02:00
ThomasV
a2048feb24
add segwit option for cmdline create
2017-10-17 11:45:55 +02:00
ThomasV
dc553ff108
fix #2991 : encrypt wallet files created with command line
2017-10-15 09:18:14 +02:00
ThomasV
6656154b78
add 'createnewaddress' command, separate from getunusedaddress
2017-10-11 12:24:55 +02:00
ThomasV
4836adff84
add cmdline support for 2fa wallets
2017-10-10 13:44:25 +02:00
ThomasV
26becedfb2
fix privkey serialization in commands
2017-10-09 11:53:47 +02:00
ThomasV
d28f603483
Allow comma separated address lists for from_addr
2017-10-07 11:54:28 +02:00
ThomasV
c810c6a356
commands: use the same option names for RPC and command line. fixes #2875
2017-10-07 09:48:20 +02:00
ThomasV
6dd2b8b471
fix #2861 : error message when password is missing
2017-10-07 08:19:14 +02:00
ThomasV
15ab48aaa8
fix sweep
2017-10-05 20:08:16 +02:00
ThomasV
30069324d5
fix #2995
2017-10-05 17:10:30 +02:00
SomberNight
4aa385e0b3
follow-up of wallet.get_private_key() -> wallet.export_private_key()
2017-10-04 23:22:33 +02:00
ThomasV
e8b564c0e7
Extend Wallet Import Format with txin type. Extend class Imported_Wallet.
2017-09-29 15:32:55 +02:00
ThomasV
6b1d9ca315
add segwit option for make_seed command
2017-09-17 17:08:46 +02:00
ThomasV
fd1a676d45
remove command line segwit option
2017-09-17 16:34:22 +02:00
ThomasV
84962ea6f1
remove deprecated command: getutxoaddress
2017-09-13 11:33:28 +02:00
ThomasV
d9f2edf6b0
support native segwit transactions
2017-09-13 11:32:40 +02:00
ThomasV
8c5b6bdaf3
Read default server list from file. Update list with 1.1 servers. Remove nolnet option.
2017-09-13 11:30:30 +02:00
ThomasV
216e9403be
cleanup six (no python2 support)
2017-09-04 14:43:31 +02:00
ThomasV
7b14516cc0
fix unicode in make_seed and getseed
2017-08-27 09:53:22 +02:00
ThomasV
ab15ff3a00
updates for python3
2017-08-26 08:28:24 +02:00
Dmitry Sorokin
0693403358
sending fixed
2017-08-26 08:28:24 +02:00
Dmitry Sorokin
d304ccdf17
py3 in qtgui
2017-08-26 08:27:47 +02:00
Dmitry Sorokin
5be78950ca
py3
2017-08-26 08:27:47 +02:00
ThomasV
cfa037fd6f
add error message about wallet not loaded. fixes #2756
2017-08-17 11:06:53 +02:00
Vali Zero
3c7171ede8
Fix commands that require password with unencrypted wallet
2017-08-03 21:34:11 +03:00
suut
bc4fcfbebd
Remove usages of deprecated apply() builtin
2017-08-01 05:22:18 +02:00
neocogent
63a754868e
add locktime cmdline support
2017-07-31 09:25:10 +07:00
Jason Jackson
a516bce8c6
Fixes issue calling commands that do not require a password, such as help
2017-07-28 08:04:32 -04:00
Brian Smith
2cafcf0d95
Added a timeout on the urllib2 request during a notify event.
2017-07-10 12:28:56 -04:00
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