6 namespace org { namespace ldk { namespace structs {
10 * A hash for use in a specific context by tweaking with a context-dependent tag as per [BIP 340]
11 * and computed over the merkle root of a TLV stream to sign as defined in [BOLT 12].
13 * [BIP 340]: https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki
14 * [BOLT 12]: https://github.com/rustyrussell/lightning-rfc/blob/guilt/offers/12-offer-encoding.md#signature-calculation
16 public class TaggedHash : CommonBase {
17 internal TaggedHash(object _dummy, long ptr) : base(ptr) { }
19 if (ptr != 0) { bindings.TaggedHash_free(ptr); }