Commit Graph

4847 Commits

Author SHA1 Message Date
ThomasV 31c4849566 url_rewrite 2015-06-02 10:41:36 +02:00
ThomasV b83b7fa5c8 cmd line: format payment requests 2015-06-02 10:25:39 +02:00
ThomasV 2727df962e requests: store path not url 2015-06-02 09:56:10 +02:00
ThomasV b9e4825422 fix request_dir variable 2015-06-02 09:37:54 +02:00
ThomasV 514ea6aa8c doc for addrequest 2015-06-02 09:31:24 +02:00
ThomasV d41785c783 save payment requests in requests_dir 2015-06-02 09:18:39 +02:00
ThomasV 832369d7c4 Merge pull request #1270 from kyuupichan/if-tristate
Make interface status tri-state.
2015-06-01 13:09:40 +02:00
ThomasV 0938299e9b move payment requests logic to wallet, add basic commands 2015-06-01 13:02:09 +02:00
Neil Booth 76355e66c8 Make interface status tri-state.
This allows us to distinguish between connecting and connected
state in interface.py (used to be done in network.py but that
had other issues).

This means we don't switch to a connecting server, and get_interfaces()
does not report connecting ones.
2015-06-01 18:22:03 +09:00
ThomasV e5b6b05482 show auto-connect in daemon status 2015-06-01 11:05:23 +02:00
ThomasV ed256e064a Merge pull request #1269 from kyuupichan/COIN
Create a constant for 100000000 and use it
2015-06-01 09:36:48 +02:00
Neil Booth 03e53a5e01 Create a constant for 100000000 and use it
Use same name as is in bitcoind.
Note that one of the constants in text.py had the wrong number
of zeroes previously...
2015-06-01 14:53:36 +09:00
ThomasV 4d9be9a6d2 commands: use decorator to register commands 2015-06-01 06:10:06 +02:00
ThomasV 7e20901e3b read command defaults 2015-06-01 00:17:50 +02:00
ThomasV c3f82fd69c fix cmd descriptions 2015-05-31 23:23:13 +02:00
ThomasV f8eb68458d use docstrings 2015-05-31 23:17:44 +02:00
ThomasV ddd6a58cc7 commands: extract params and options from arguments 2015-05-31 22:42:34 +02:00
ThomasV 1d5c6bdc2d deserialized option for mktx 2015-05-31 18:21:14 +02:00
ThomasV 4042ac69ec fix varname 2015-05-31 18:03:58 +02:00
ThomasV 9c76a0232e distinction between 'destination' and 'address' 2015-05-31 18:02:09 +02:00
ThomasV 200563c4e9 fix sweep fee 2015-05-31 17:49:59 +02:00
ThomasV c4d822b0cf add 'unsigned' option 2015-05-31 17:38:57 +02:00
ThomasV ee20910c65 fix signtransaction flags 2015-05-31 17:21:02 +02:00
ThomasV a3cd33fe03 add option to disable dnssec 2015-05-31 16:43:27 +02:00
ThomasV 9be94c74d2 add getalias command 2015-05-31 15:06:52 +02:00
ThomasV 8513dd2c63 fix cmd names 2015-05-31 15:00:56 +02:00
ThomasV c006678289 fix indent 2015-05-31 15:00:43 +02:00
ThomasV 5a76a0fc95 hook openalias plugin to command line interface 2015-05-31 14:42:16 +02:00
ThomasV bb7437e534 encapsulate variable in openalias plugin 2015-05-31 14:33:26 +02:00
ThomasV ee5f499fc1 use contacts in command line 2015-05-31 14:10:52 +02:00
ThomasV 5cd3bfedb6 always pass coins to wallet.make_unsigned_transactions. fix \! shortcut in commands 2015-05-31 11:31:41 +02:00
ThomasV 0531f00c80 support for \! shortcut in command line 2015-05-31 10:40:12 +02:00
ThomasV 0caa29784c separate param_descriptions and improve help messages 2015-05-31 10:03:53 +02:00
ThomasV cc610d352f merge signtxwithwallet and signtxwithkey 2015-05-31 09:28:47 +02:00
ThomasV 1d5f04c588 fix function name 2015-05-31 08:49:47 +02:00
ThomasV aa7f056d02 minor fix: sys.argv length 2015-05-31 08:36:12 +02:00
ThomasV 53a3f00389 add --deserialize option to gettransaction 2015-05-31 08:20:09 +02:00
ThomasV 9acc0e4ed0 minor formatting 2015-05-31 08:06:20 +02:00
ThomasV 2167b9e93d Merge pull request #1264 from kyuupichan/unify_interfaces
Remove pending_servers, self.interfaces is now the complete set of
2015-05-31 08:02:47 +02:00
ThomasV bd6bfcea0e Merge pull request #1267 from kyuupichan/spendable_coins
get_spendable_coins and frozen addrs
2015-05-31 07:53:43 +02:00
Neil Booth 320f9a3790 get_spendable_coins and frozen addrs
Two callers of get_spendable_coins were removing frozen addrs
before calling.  Put that functionality in the function.
We shouldn't be able to send_from a frozen address.  This was
possible in the current release because logic assumed a two-element
tuple was returned when it is now three-element.  Fix that too.

Command line options listunspent and createrawtransaction currently
ignore frozen addresses.  I'm not sure that's right but I've preserved
that behaviour.

With this patch only the wallet class refers to self.frozen_addresses;
other clients use is_frozen() now.
2015-05-31 14:07:50 +09:00
ThomasV 00ded10810 fix: freeze does not need password 2015-05-31 06:45:51 +02:00
ThomasV 6cb5ba4314 Merge pull request #1266 from kyuupichan/fast_freezing
Speed up freezing and unfreezing of many addresses
2015-05-31 06:44:17 +02:00
Neil Booth 0f29984f07 Speed up freezing and unfreezing of many addresses
Speedup mainly from writing to storage only once.
Make frozen_addresses a set in memory, as sets give cleaner
code and are more efficient.

Minor change in behaviour: command line freezing used to return
False if the address isn't in the wallet OR the address was already
frozen.  Now it returns more like a success code: it returns False
only if the address isn't in the wallet regardless of frozen state.
Similarly for unfreezing.
2015-05-31 11:54:21 +09:00
ThomasV d6f4b57d64 help function for python console 2015-05-30 19:13:28 +02:00
ThomasV a1a4fe8e92 fix Commands constructor 2015-05-30 18:55:32 +02:00
ThomasV 92a158b910 proper handling of arg_types. add more options for listaddresses 2015-05-30 18:49:58 +02:00
ThomasV bf98b547e1 fix bug in cmd.params 2015-05-30 17:09:17 +02:00
ThomasV 2ab9272f52 fix positional arguments 2015-05-30 16:14:56 +02:00
ThomasV 966bb3c15f separate help and description for commands 2015-05-30 14:07:48 +02:00