HomePhabricator

rpc: make sure `gettxoutsetinfo` hash has txids
76212bbc6a13Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

rpc: make sure gettxoutsetinfo hash has txids

The key (transaction id for the following outputs) should be serialized
to the HashWriter.

This is a problem as it means different transactions in the same
position with the same outputs will potentially result in the same hash.

Fixes primary concern of #7758.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Apr 9 2016, 05:59
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING9ad1a518574b: crypto: bytes counts are 64 bit
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rSTAGING76212bbc6a13: rpc: make sure `gettxoutsetinfo` hash has txids (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Apr 15 2016, 16:03