I thought about this a few times in the past. Thanks for sharing the code, will try to include it in an upcoming release 👍
You are viewing a single comment's thread from:
I thought about this a few times in the past. Thanks for sharing the code, will try to include it in an upcoming release 👍
I'd advise to implement it in such a way that
sig_digest
of a transaction is taken from server (since a node already haspack
ed version of transaction - this way you don't need to deal with differences between legacy and hf26 version of binary serialization), but the extraction of public key from signature happens on client side, preferably on demand only (that part of the process carries almost all the cost, if you do it on the server you just invite DoS attack).