greenaddress / garecovery

GreenAddress recovery tool for 2of2 and 2of3 wallets
MIT License
107 stars 53 forks source link

Handle old nlocktimes.zip format #18

Closed jkauffman1 closed 6 years ago

jgriffiths commented 6 years ago

@saban12 Please do not use our pull request discussions for support, contact info@greenaddress.it, you are talking to the same people there as here.

saban12 commented 6 years ago

tsorry, hank you for your help.

ami

2017-11-28 20:34 GMT+02:00 jgriffiths notifications@github.com:

@saban12 https://github.com/saban12 Please do not use our pull request discussions for support, contact info@greenaddress.it, you are talking to the same people there as here.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/greenaddress/garecovery/pull/18#issuecomment-347620284, or mute the thread https://github.com/notifications/unsubscribe-auth/AgSZ9ljTotgjPlcEDx-NjihqxBTlyRg3ks5s7FIrgaJpZM4Qi-80 .

-- בברכה עמי

jkauffman1 commented 6 years ago

@isghe No it's not possible because the prevout_value is not contained in the transaction unlike the other fields. You would have to retrieve the value from some other source, e.g. by asking core for the transaction/output. However this should not be a problem for a 2014 nlocktimes because it predates segwit, and prevout_values is only required for segwit inputs. Any nlocktimes that were generated for segwit inputs should contain prevout_values.