From 547d6aba37de4d04927d6dfe5e49c972d8b89874 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Wed, 10 Apr 2019 09:05:58 -0400 Subject: [PATCH] claim meta --- v2/proto/page.proto | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/v2/proto/page.proto b/v2/proto/page.proto index cb12e8d..d1b3f81 100644 --- a/v2/proto/page.proto +++ b/v2/proto/page.proto @@ -49,12 +49,16 @@ message Output { // pointer to an output in one of the Page.txs bytes tx_hash = 1; uint32 nout = 2; + oneof meta { + ClaimMeta claim = 3; + } +} - // if this output is a stream claim in a - // channel, this is a pointer to an output - // representing that channel (should be - // available in Page.txs) - Output channel = 3; +message ClaimMeta { + Output channel = 1; + bool is_winning = 2; + uint64 effective_amount = 3; + uint64 trending_amount = 4; } message Transaction {