Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Dojo
addrindexrs
Commits
f47dcccd
Commit
f47dcccd
authored
Nov 01, 2019
by
kenshin-samourai
Browse files
remove unused value (amounts) from FundingOutput and SpendingInput
parent
024280cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
src/query.rs
src/query.rs
+0
-4
No files found.
src/query.rs
View file @
f47dcccd
...
...
@@ -20,7 +20,6 @@ pub struct FundingOutput {
pub
txn_id
:
Sha256dHash
,
pub
height
:
u32
,
pub
output_index
:
usize
,
pub
value
:
u64
,
}
type
OutPoint
=
(
Sha256dHash
,
usize
);
// (txid, output_index)
...
...
@@ -29,7 +28,6 @@ struct SpendingInput {
txn_id
:
Sha256dHash
,
height
:
u32
,
funding_output
:
OutPoint
,
value
:
u64
,
}
pub
struct
Status
{
...
...
@@ -178,7 +176,6 @@ impl Query {
txn_id
:
t
.txn
.txid
(),
height
:
t
.height
,
funding_output
:
(
funding
.txn_id
,
funding
.output_index
),
value
:
funding
.value
,
})
}
}
...
...
@@ -201,7 +198,6 @@ impl Query {
txn_id
,
height
:
t
.height
,
output_index
:
index
,
value
:
output
.value
,
})
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment