default initialize rpc structures

This commit is contained in:
moneromooo-monero 2019-01-18 01:05:58 +00:00
parent ef93b0995c
commit e396146aee
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
12 changed files with 658 additions and 330 deletions

View file

@ -34,7 +34,7 @@
namespace cryptonote
{
struct core_stat_info
struct core_stat_info_t
{
uint64_t tx_pool_size;
uint64_t blockchain_height;
@ -50,4 +50,5 @@ namespace cryptonote
KV_SERIALIZE(top_block_id_str)
END_KV_SERIALIZE_MAP()
};
typedef epee::misc_utils::struct_init<core_stat_info_t> core_stat_info;
}