oxen-core/contrib/epee/include
Jason Rhinelander f765c67f6e Tweak how get_service_nodes works for fields/all
This changes `get_service_nodes` fields behaviour to make the fields.all
field a bit more intuitive by defaulting it to true if `fields` is
entirely omitted (as before), but now defaulting to false if `fields`
is explicitly given but `fields.all` is omitted.

This means a request such as `{"fields":{"service_node_pubkey":true}}`
now returns just pubkeys, while previously it returned everything (which
was surprising behaviour).  To make it return just pubkeys you'd have to
request: `{"fields":{"all":false,"service_node_pubkey":true}}`.

`all` is still there so that you can explicitly request everything if
desired.
2020-08-18 12:22:35 -03:00
..
net Wallet RPC server modernization 2020-08-07 17:14:03 -03:00
serialization Tweak how get_service_nodes works for fields/all 2020-08-18 12:22:35 -03:00
storages Wallet RPC server modernization 2020-08-07 17:14:03 -03:00
console_handler.h Make daemon interactive commands ordered again 2020-08-01 12:37:25 -03:00
copyable_atomic.h copyable_atomic: add a ctor with initial value 2017-09-27 11:43:08 +01:00
file_io_utils.h epee.string_tools: add conversion between UTF-8 and UTF-16 2018-06-28 09:40:26 +09:00
fnv1.h wallet: wipe seed from memory where appropriate 2018-08-16 09:17:52 +00:00
gzip_encoding.h Remove stupid OUT macro 2020-07-02 12:52:12 -03:00
hex.h Miscellaneous header updates via iwyu 2020-07-02 12:52:13 -03:00
hmac-md5.h moved all stuff to github 2014-03-03 22:07:58 +00:00
include_base_utils.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
int-util.h Merge commit '48d8475b6ea77c6cc9670c9c312f3b7684b12a2c' into MergeUpstream3 2020-05-21 13:37:57 +10:00
md5_l.h Replace memset with memwipe. 2019-11-13 18:00:50 +01:00
md5_l.inl Removed boost/asio.hpp include from epee/string_tools.h 2017-03-18 22:05:14 -04:00
md5global.h moved all stuff to github 2014-03-03 22:07:58 +00:00
memwipe.h Post-merge updates: epee::is_byte_spannable 2020-07-02 12:52:13 -03:00
misc_language.h Miscellaneous header updates via iwyu 2020-07-02 12:52:13 -03:00
misc_log_ex.h Remove horrible logging macros 2020-07-02 12:52:13 -03:00
misc_os_dependent.h Remove unused call_sys_cmd function 2020-07-02 12:52:13 -03:00
mlocker.h Post-merge updates: epee::is_byte_spannable 2020-07-02 12:52:13 -03:00
pragma_comp_defs.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
profile_tools.h Miscellaneous fixes 2020-07-02 12:52:13 -03:00
readline_buffer.h Miscellaneous header updates via iwyu 2020-07-02 12:52:13 -03:00
readline_suspend.h Make suspend_readline a (usable) no-op when readline not available 2020-05-20 00:48:59 -03:00
rolling_median.h Split up common/util.h 2020-07-02 12:52:12 -03:00
shared_sv.h Replace epee::byte_slice with much simpler shared_sv 2020-07-02 12:52:13 -03:00
span.h Add missing header needed for std::byte 2020-08-10 14:47:09 -03:00
stats.h performance_tests: better stats, and keep track of timing history 2019-01-28 15:45:37 +00:00
stats.inl performance_tests: better stats, and keep track of timing history 2019-01-28 15:45:37 +00:00
string_coding.h Removed some unused epee functions 2017-04-25 16:07:32 -04:00
string_tools.h Miscellaneous header updates via iwyu 2020-07-02 12:52:13 -03:00
time_helper.h epee time helper: remove cruft, move to src/ 2020-07-02 12:52:13 -03:00
to_nonconst_iterator.h move modified epee code to new classes, revert license 2014-07-25 18:29:08 +02:00
warnings.h year updated in license 2015-01-02 18:52:46 +02:00
wipeable_string.h More string_view (mostly in wallet code) 2020-07-02 12:55:28 -03:00