add txo list by params

fix set.slice() error

add txopage reducer

move txo constants to redux

abandon bug

abandon callback
This commit is contained in:
jessop 2020-04-10 08:16:27 -04:00
parent 677dd25643
commit 1e505184dc
11 changed files with 547 additions and 30 deletions
flow-typed

24
flow-typed/Txo.js vendored Normal file
View file

@ -0,0 +1,24 @@
declare type Txo = {
amount: number,
claim_id: string,
normalized_name: string,
nout: number,
txid: string,
type: string,
value_type: string,
timestamp: number,
is_my_output: boolean,
is_my_input: boolean,
is_spent: boolean,
};
declare type TxoListParams = {
page: number,
page_size: number,
type: string,
is_my_input?: boolean,
is_my_output?: boolean,
is_not_my_input?: boolean,
is_not_my_output?: boolean,
is_spent?: boolean,
}