Jan Vornberger [ARCHIVE] on Nostr: 📅 Original date posted:2011-10-27 🗒️ Summary of this message: Gavin Andresen ...
📅 Original date posted:2011-10-27
🗒️ Summary of this message: Gavin Andresen suggests using the prevout to extract the address for a transaction input. Jan creates a patch for a new RPC call 'getorigins'.
📝 Original message:Am Mo, 24.10.2011, 16:55, schrieb Gavin Andresen:
> If you assume the client has all previous transactions, then you could
> get the transaction input's prevout (from the memory pool or disk) and
> then ExtractAddress() from it.
I now created a patch based on this idea. To avoid slowing down
listtransactions or gettransaction, I put it in a separate RPC
call 'getorigins'. This is the patch:
https://github.com/javgh/bitcoin/compare/bfa4600a93...getorigins
Any obvious mistakes I made there?
Regards!
Jan
🗒️ Summary of this message: Gavin Andresen suggests using the prevout to extract the address for a transaction input. Jan creates a patch for a new RPC call 'getorigins'.
📝 Original message:Am Mo, 24.10.2011, 16:55, schrieb Gavin Andresen:
> If you assume the client has all previous transactions, then you could
> get the transaction input's prevout (from the memory pool or disk) and
> then ExtractAddress() from it.
I now created a patch based on this idea. To avoid slowing down
listtransactions or gettransaction, I put it in a separate RPC
call 'getorigins'. This is the patch:
https://github.com/javgh/bitcoin/compare/bfa4600a93...getorigins
Any obvious mistakes I made there?
Regards!
Jan