Skip to content

Instantly share code, notes, and snippets.

RE Myers remyers

Block or report user

Report or block remyers

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@remyers
remyers / gist:e2d4ba6a5cd277d6e319a52492425b90
Last active Aug 5, 2019
Debugging SighatureHash in interpreter.cpp
View gist:e2d4ba6a5cd277d6e319a52492425b90
Add this code at end of add_eltoo_witness
self.log.debug("\nbtcdeb --tx=%s --txin=%s --modify-flags=\"-NULLFAIL\"\n",tx_hex, spend_tx_hex)
Add code before and in the method after the normal CHashWriter call to serialize the txTo.
template <class T>
uint256 SignatureHash(const CScript& scriptCode, const T& txTo, unsigned int nIn, int nHashType, const CAmount& amount, SigVersion sigversion, const PrecomputedTransactionData* cache)
#include <streams.h>
#include <util/strencodings.h>
View compressed-tx-txfer.md

Looking for optimally minimal data transfer to send a transaction.

Just throwing this out there; I'm sure we can do better.

Some stuff should be pre-agreed by anyone following this protocol. For example:

  • Preagreed: script type (say legacy P2PKH)
  • Preagreed: version 1, locktime 0, sequence maxint-1, fee 10K sats (tweak this later)

Receiver has address AR, requests X sats.

View blockstack
Verifying my Blockstack ID is secured with the address 16ZGScXvPR8DU1Bs2MagWwXHi8B1yatjnM https://explorer.blockstack.org/address/16ZGScXvPR8DU1Bs2MagWwXHi8B1yatjnM
View gist:c5bb98dc268114a5f362e08b6be5e6ab
Verifying that "rem.id" is my Blockstack ID. https://explorer.blockstack.org/name/rem.id
@remyers
remyers / onename.md
Last active Jun 9, 2016
Verify username with onename.io
View onename.md
View keybase.md

Keybase proof

I hereby claim:

  • I am remyers on github.
  • I am rem (https://keybase.io/rem) on keybase.
  • I have a public key whose fingerprint is 18C1 3490 9A1C C727 E17C 5284 4B57 A032 8D76 5D86

To claim this, I am signing this object:

You can’t perform that action at this time.