Commit Graph

589 Commits

Author SHA1 Message Date
Crypto City
fcf3261ef5 daemon: add a few parameters to cc_get_last_events 2021-07-07 19:58:23 +00:00
Crypto City
943c6735b9 daemon: print number of merged mined blocks in bc_dyn_stats 2021-06-28 16:25:51 +00:00
Crypto City
be8c7e47d7 fix stray spaces in maturity message 2021-06-24 08:49:04 +00:00
Crypto City
7d441c2a20 daemon: fix crash in cc_get_item 0 2021-06-08 15:10:15 +00:00
Crypto City
514bec111b store better info (counterparties, all flags/items, fee) in game events
also make balance signed so we can distinguish income and expenditures,
add missing/incorrect event data
2021-04-27 18:15:30 +00:00
Crypto City
931773c40e Merge remote-tracking branch 'origin/master' into cc 2021-04-24 13:46:11 +00:00
Crypto City
aefb95a88b new "playing with fire" badge 2021-04-18 19:23:47 +00:00
mj-xmr
dc81e23e60 Split epee/string_tools.h and encapsulate boost::lexical_cast 2021-04-16 20:54:20 +02:00
luigi1111
2218e23e84
Merge pull request #7002
673c6d2 Reduce compilation time of epee/portable_storage_template_helper.h (mj-xmr)
2021-04-16 12:43:42 -05:00
Crypto City
2eec2f6371 fix farming not being bothered by not having enough heating material
also fix demolishing a farm while a crop is being grown
2021-04-06 10:46:37 +00:00
Crypto City
7413fa9490 daemon: fix cc_chat in RPC mode 2021-04-01 22:13:20 +00:00
luigi1111
c2bc829cca
Merge pull request #7326
cf266d6 bootstrap_daemon: proxy configuration support (xiphon)
2021-03-29 21:08:36 -04:00
mj-xmr
673c6d2d11 Reduce compilation time of epee/portable_storage_template_helper.h 2021-03-28 15:41:48 +02:00
Crypto City
6261344b9a remove mime_type from custom items, and add gold content 2021-03-25 14:37:56 +00:00
Crypto City
bc936a65b7 game: allow loading a file to generate IPFS hash 2021-03-13 18:03:58 +00:00
Crypto City
c42fb25cae display some more information about mortgages and collectible coins 2021-03-13 10:45:46 +00:00
Crypto City
afc4f6f913 new cc_get_item_ownership RPC and daemon command 2021-03-13 10:45:46 +00:00
Crypto City
b8d4836f2a add optional hash and MIME type to custom items, and add cc_item_info command 2021-03-13 10:45:46 +00:00
Kevin Barbour
85db1734e7
Remove unused variables in monero codebase
There are quite a few variables in the code that are no longer
(or perhaps never were) in use. These were discovered by enabling
compiler warnings for unused variables and cleaning them up.

In most cases where the unused variables were the result
of a function call the call was left but the variable
assignment removed, unless it was obvious that it was
a simple getter with no side effects.
2021-02-09 08:05:05 +01:00
Crypto City
1501672a2b daemon: new cc_custom_items command 2021-01-21 14:51:16 +00:00
xiphon
cf266d66dd bootstrap_daemon: proxy configuration support 2021-01-21 13:45:44 +00:00
Crypto City
4956a6aa5e Merge remote-tracking branch 'origin/master' into cc 2021-01-18 01:33:53 +00:00
Denis Goddard
46cc4a253b Header row for peer list in sync_info 2020-12-31 20:09:35 -05:00
Alexander Blair
5402121323
Merge pull request #7180
56748e1d7 ban lists may now include subnets (moneromooo-monero)
2020-12-26 13:42:37 -08:00
moneromooo-monero
d2fda6c25f
restrict public node checks a little
do not include blocked hosts in peer lists or public node lists by default,
warn about no https on clearnet and about untrusted peers likely being spies
2020-12-22 23:39:07 +00:00
moneromooo-monero
56748e1d74
ban lists may now include subnets 2020-12-22 02:12:41 +00:00
moneromooo-monero
9de3787c47
daemon: the ban command can now load IPs from a file (ban @filename) 2020-12-14 12:26:23 +00:00
Alexander Blair
7cd0c64210
Merge pull request #6948
65903d2cf Add rpc-restricted-bind-ip option (Howard Chu)
2020-12-01 14:21:19 -08:00
Crypto City
9957d59552 daemon: print nonce in print_pool_commands 2020-11-29 23:38:03 +00:00
luigi1111
b37d6fe368
Merge pull request #6826
83da867 Update error messages in daemon (tmoravec)
2020-11-28 21:35:34 -06:00
Crypto City
9ff58f684f scripts can now be attached to runestones 2020-11-22 15:27:07 +00:00
Crypto City
8368ca212e daemon: add special event in cc_get_city output 2020-11-22 15:27:07 +00:00
Crypto City
70420b9b4b daemon: display merged mined flag in print_bc 2020-11-22 15:27:07 +00:00
Crypto City
4b7ec81ff2 daemon: print time to next update in cc_date 2020-11-01 23:13:15 +00:00
Crypto City
b0bbb69cdf more work on scripts
exit states with no choices, init commands when starting a script,
per player script local variables, and a few fixes
2020-11-01 17:34:30 +00:00
Crypto City
fa9a377279 add player script variables 2020-11-01 17:33:55 +00:00
Howard Chu
65903d2cfc
Add rpc-restricted-bind-ip option
Fixes #6369
2020-10-29 00:22:18 +00:00
Crypto City
f2808a6a39 more tile size optimization
Tiles are now stored as a single packed byte stream,
including in the game, and unpacked/repacked as necessary
2020-10-25 18:47:26 +00:00
Crypto City
be1307c3a4 s/TownForge/Townforge/ 2020-10-19 12:17:51 +00:00
Crypto City
43b8112c1e Merge branch 'master' into cc 2020-10-18 00:33:51 +00:00
Crypto City
cb353a875d daemon: include nonce to txid map in print_pool 2020-10-17 23:30:31 +00:00
Crypto City
7b51ad56bc WIP - mortgages 2020-10-17 23:29:26 +00:00
Crypto City
5710bb74dd WIP - scripts 2020-10-17 23:28:43 +00:00
Crypto City
698066afcc daemon: add cc_orders command to show trade orders for an item 2020-10-17 21:28:48 +00:00
Crypto City
17750a7b42 daemon: print_pool_commands now takes optional account and/or type 2020-10-11 10:36:17 +00:00
Crypto City
3aed44b2bf daemon: add cc_chat command (read only chat viewer) 2020-10-11 10:34:56 +00:00
Crypto City
04faa7fe0b daemon: print tx hash in print_pool_commands 2020-10-02 12:38:00 +00:00
Crypto City
34065f2b9e daemon: fix printing block as JSON 2020-10-02 12:38:00 +00:00
xiphon
4846743fdc daemon: Windows - fix FAT32 warning, trailing backslash is required 2020-09-20 13:57:44 +00:00
Tadeas Moravec
83da867474
Update error messages in daemon
When given a wrong argument, some daemon commands failed with "unknown
command" error, instead of a meaningful error message. This patch
brings consistency into the error messages.

In several places, this patch removes relatively useful messages,
and replaces them with more generic ones. E.g.,

-    std::cout << "use: print_pl [white] [gray] [<limit>] [pruned]
[publicrpc]" << std::endl;
+    std::cout << "Invalid syntax: Too many parameters. For more
details, use the help command." << std::endl;

There are two reasons for this:

1. Consistency.
2. Removing duplicates.

The detailed information about the parameters is present in
the help messages already. Having it in two places increases
the risk that the messages would get out of date.
2020-09-18 14:04:19 +02:00