Commit Graph

86 Commits

Author SHA1 Message Date
Oran Juice
3a51390716 Rebase 2015-08-29 22:47:47 +05:30
Riccardo Spagni
7792255968
Merge pull request #369
d87a2d2 core_rpc_server: replace vector<bool> with vector<int> in RPC (moneromooo-monero)
2015-08-13 20:04:31 +02:00
moneromooo-monero
d87a2d2bb2
core_rpc_server: replace vector<bool> with vector<int> in RPC
vector<bool> causes issues in serialization with Boost 1.56
2015-08-13 16:33:28 +01:00
moneromooo-monero
e7b00abfaa
core_rpc_server: find transactions in the pool as well as the blockchain 2015-08-11 15:54:19 +01:00
moneromooo-monero
83bbea4c7f
Add a is_key_image_spent daemon command and RPC call 2015-08-11 10:52:41 +01:00
Thomas Winget
3e5b3153e9
Merge upstream into zmq branch
Needs testing to make sure everything works (insofar as it already did
on this branch), but it builds.

Conflicts:
	external/CMakeLists.txt
	src/daemon/CMakeLists.txt
	src/daemon/daemon.cpp
	src/wallet/wallet2.h
2015-07-05 09:02:34 -04:00
Oran Juice
4b2c2cc3e9
get_blocks deprecated RPC (buffer overflow for large responses), comments 2015-06-29 14:19:41 +05:30
Oran Juice
c7d27d4979
get_block_hash, get_block_template IPC + deprecated RPC 2015-06-17 19:25:07 +05:30
Oran Juice
26f7c3d5a9
get_block_count, start_save_graph, stop_save_graph IPC 2015-06-13 16:46:13 +05:30
Oran Juice
65c98639e7
set_log_hash_rate, set_log_level IPC and deprecated RPC 2015-06-12 18:27:03 +05:30
Oran Juice
919c067d72
get_mining_status IPC 2015-06-12 00:19:48 +05:30
Oran Juice
eec95a71d5
get_peer_list IPC 2015-06-10 20:47:33 +05:30
moneromooo-monero
d09be116c6
core_rpc_server: add a getter for the testnet flag 2015-05-28 23:14:37 +01:00
moneromooo-monero
754f863a7e
core_rpc_server: log some error messages to the console
It's helpful when you don't know something failed (especially as
everything ends up returning true, so caller thinks all's fine)
2015-05-28 23:13:32 +01:00
moneromooo-monero
bac366e173
core_rpc_server: reenable print_pl 2015-05-28 14:10:39 +01:00
Oran Juice
44c3ad69b4
monero-rpc-deprecated basic. get_info, save_bc, start, stop mining 2015-05-24 23:10:15 +05:30
warptangent
b76857f9d9
Add mempool output to daemon via command and RPC
This is for the "print_pool" command and "get_transaction_pool" RPC
method.

Add mempool's spent key images to the results.
2015-04-23 07:04:36 -07:00
rfree2monero
32c19c6c3d
[fix] log level change. compilation: dns, tests
old unbound #warning does not block compilation
unit tests build fine. Even though the RPC/P2P network type is required again
2015-04-10 16:54:21 +02:00
Oran Juice
20f2ae24d6
Resolve conflicts. get_output_indexes broken 2015-04-07 02:07:51 +05:30
rfree2monero
c511abf005 remerged; commands JSON. logging upgrade. doxygen 2015-04-01 19:00:45 +02:00
Thomas Winget
a0590d29cd
Restore daemon interactive mode
Daemon interactive mode is now working again.

RPC mapped calls in daemon and wallet have both had connection_context
removed as an argument as that argument was not being used anywhere.
2015-03-27 08:01:30 -04:00
Thomas Winget
db53e1956a
revert stop_daemon method to use correct exit
This was changed because sometimes the daemon does not complete its exit
routine with this method, but as it does correctly wind most things down
even if it gets stuck I've changed it back.
2015-02-24 00:54:50 -05:00
Thomas Winget
96cbecffd7
RPC calls for background daemon added in
The RPC calls the daemon executable uses to talk to the running daemon
instance have mostly been added back in.  Rate limiting has not been
added in upstream, but is on its way in a separate effort, so those
calls are still NOPed out.
2015-02-24 00:44:36 -05:00
Thomas Winget
9193d6fb5b
Daemonize changes pulled in -- daemon builds
many RPC functions added by the daemonize changes
(and related changes on the upstream dev branch that were not merged)
were commented out (apart from return).  Other than that, this *should*
work...at any rate, it builds, and that's something.
2015-02-24 00:05:19 -05:00
Oran Juice
81b2a49c6e
0MQ in. CMake integrated. 2015-01-16 22:17:06 +05:30
Oran Juice
18cbb876d0
Merge with upstream 2015-01-15 22:10:44 +05:30
Riccardo Spagni
7de1a2d57a
previous hash added to GBT 2015-01-06 18:37:10 +02:00
Riccardo Spagni
f4b69d553a
year updated in license 2015-01-02 18:52:46 +02:00
Oran Juice
9eea54bfa6
0MQ basic server in the works 2014-12-08 22:46:47 +05:30
Oran Juice
ca86e346c2
Make distinction between daemon and wallet RPC. Use new HTTP server for wallet. 2014-12-04 13:57:17 +05:30
Oran Juice
299ee2357e
Added getindexes. 2014-11-16 15:59:51 +05:30
Oran Juice
2ec4502ec8
Added getinfo. 2014-11-15 00:42:28 +05:30
Oran Juice
6dee7774d5
Added getconnections. Increased max response size to 2000. 2014-11-13 21:49:12 +05:30
Oran Juice
bdd6b830fe
Added getblockheaderbyhash and getblockheaderbyheight. 2014-11-12 19:31:52 +05:30
Oran Juice
37ddd82fe8
Added getlastblockheader. 2014-11-11 22:15:25 +05:30
Oran Juice
da6216288c
Documented JSON RPC handlers. 2014-11-11 18:56:40 +05:30
Oran Juice
7910a3941f
Split RPC handler definitions into separate .cpp file. 2014-11-10 22:35:50 +05:30
Oran Juice
f3ac82b28e
Added submitblock and commented Json_rpc_http_server. 2014-11-10 20:03:16 +05:30
Oran Juice
43286b46e5
More RPC handlers, more JSON RPC 2.0 compliant. 2014-11-10 02:14:09 +05:30
Oran Juice
5470c0c070
Added getblockhash. 2014-11-09 16:25:05 +05:30
Oran Juice
0381c3a5a4
Added miningstatus, getblockcount. Puts method name and RPC id in response JSON. 2014-11-09 15:40:58 +05:30
Oran Juice
a273353b32
Added stopmining. 2014-11-08 21:41:43 +05:30
Oran Juice
ffe1737fef
Added startmining. Check for block ID length in getblocks. 2014-11-08 21:14:50 +05:30
Oran Juice
bd16e82e3c
Added gettransactions. Check for types inside arrays 2014-11-08 19:05:05 +05:30
Oran Juice
6a97599839
Use rapidjson for all JSON processing in handlers. Added handler for getblocks. 2014-11-08 17:29:18 +05:30
Oran Juice
eb355a4021
Added getheight 2014-11-06 21:35:53 +05:30
Oran Juice
5eb1d32ef7
Replaced old RPC server in daemon with new one. Yet to add RPC handlers. 2014-11-03 00:38:16 +05:30
Oran Juice
fedf1eb473
net_skeleton server made usable with daemon 2014-11-02 20:45:26 +05:30
Oran Juice
ac662269cf
Fixed problem in Json_rpc_http_server due to C-like nature of net_skeleton 2014-11-02 11:58:08 +05:30
Oran Juice
edfaa2e484
Wrote a JSON RPC HTTP Server class using net_skeleton. Has issues due to non-OOP nature of net_skeleton 2014-11-01 21:35:26 +05:30