mirror of
https://codeberg.org/wownero/wownero-lws
synced 2026-01-09 23:25:16 -08:00
remove per_kb_fee
This commit is contained in:
committed by
Lee *!* Clagett
parent
271f0dcb64
commit
04a54ea136
@@ -294,7 +294,7 @@ namespace lws
|
||||
return expand_outputs{src, self.user_key};
|
||||
};
|
||||
wire::object(dest,
|
||||
wire::field(self.use_per_byte_fee ? "per_byte_fee" : "per_kb_fee", self.base_fee),
|
||||
WIRE_FIELD_COPY(per_byte_fee),
|
||||
WIRE_FIELD_COPY(fee_mask),
|
||||
WIRE_FIELD_COPY(amount),
|
||||
wire::field("outputs", wire::as_array(std::cref(self.outputs), expand))
|
||||
|
||||
@@ -155,12 +155,11 @@ namespace rpc
|
||||
struct get_unspent_outs_response
|
||||
{
|
||||
get_unspent_outs_response() = delete;
|
||||
std::uint64_t base_fee; // either per_byte_fee or per_kb_fee
|
||||
std::uint64_t per_byte_fee;
|
||||
std::uint64_t fee_mask;
|
||||
safe_uint64 amount;
|
||||
std::vector<std::pair<db::output, std::vector<crypto::key_image>>> outputs;
|
||||
crypto::secret_key user_key;
|
||||
bool use_per_byte_fee;
|
||||
};
|
||||
void write_bytes(wire::json_writer&, const get_unspent_outs_response&);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user