mirror of
https://codeberg.org/wownero/wownero-lws
synced 2026-01-09 23:25:16 -08:00
Add support for view tags when scanning
- https://github.com/monero-project/monero/pull/8061 - also update import location for epee::misc_utils::get_gmt_time
This commit is contained in:
committed by
Lee *!* Clagett
parent
82495b2736
commit
271f0dcb64
@@ -93,6 +93,10 @@ namespace cryptonote
|
||||
{
|
||||
wire::object(source, WIRE_FIELD(hash));
|
||||
}
|
||||
static void read_bytes(wire::json_reader& source, txout_to_tagged_key& self)
|
||||
{
|
||||
wire::object(source, WIRE_FIELD(key), WIRE_FIELD(view_tag));
|
||||
}
|
||||
static void read_bytes(wire::json_reader& source, txout_to_key& self)
|
||||
{
|
||||
wire::object(source, WIRE_FIELD(key));
|
||||
@@ -103,6 +107,7 @@ namespace cryptonote
|
||||
WIRE_FIELD(amount),
|
||||
wire::variant_field("transaction output variant", std::ref(self.target),
|
||||
wire::option<txout_to_key>{"to_key"},
|
||||
wire::option<txout_to_tagged_key>{"to_tagged_key"},
|
||||
wire::option<txout_to_script>{"to_script"},
|
||||
wire::option<txout_to_scripthash>{"to_scripthash"}
|
||||
)
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
#include "db/string.h"
|
||||
#include "error.h"
|
||||
#include "misc_os_dependent.h" // monero/contrib/epee/include
|
||||
#include "time_helper.h" // monero/contrib/epee/include
|
||||
#include "ringct/rctOps.h" // monero/src
|
||||
#include "span.h" // monero/contrib/epee/include
|
||||
#include "util/random_outputs.h"
|
||||
|
||||
Reference in New Issue
Block a user