Bitcoin Forum
May 14, 2024, 05:25:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: SIGHASH_NOINPUT and Lightning Network  (Read 156 times)
Frodek (OP)
Member
**
Offline Offline

Activity: 138
Merit: 25


View Profile
September 13, 2018, 08:14:25 AM
 #1

1.
Here is SIGHASH_NOINPUT: https://github.com/Roasbeef/bitcoin/commit/4b3c3f1baf7985208ceb6887261ee150ab6e3328
Code:
    const bool fAnyoneCanPay;  //! whether the hashtype has the SIGHASH_ANYONECANPAY flag set
    const bool fNoInput;       //! whether the hashtype has the SIGHASH_NOINPUT flag set
    const bool fHashSingle;    //! whether the hashtype is SIGHASH_SINGLE
But I can't find "SIGHASH_NOINPUT" in bitcoin master source.
This is only in branch?

2.In Bitcoin blockchain are transactions which opens bidirectional LN channel?
If not, these are in testnet?

3.I want search blocks are find all transactions which opens bidirectional LN channel.
How I can do it?
1715664343
Hero Member
*
Offline Offline

Posts: 1715664343

View Profile Personal Message (Offline)

Ignore
1715664343
Reply with quote  #2

1715664343
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715664343
Hero Member
*
Offline Offline

Posts: 1715664343

View Profile Personal Message (Offline)

Ignore
1715664343
Reply with quote  #2

1715664343
Report to moderator
1715664343
Hero Member
*
Offline Offline

Posts: 1715664343

View Profile Personal Message (Offline)

Ignore
1715664343
Reply with quote  #2

1715664343
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6637


Just writing some code


View Profile WWW
September 13, 2018, 01:30:46 PM
Merited by Foxpup (3), ABCbits (1), AdolfinWolf (1)
 #2

1.
Here is SIGHASH_NOINPUT: https://github.com/Roasbeef/bitcoin/commit/4b3c3f1baf7985208ceb6887261ee150ab6e3328
Code:
    const bool fAnyoneCanPay;  //! whether the hashtype has the SIGHASH_ANYONECANPAY flag set
    const bool fNoInput;       //! whether the hashtype has the SIGHASH_NOINPUT flag set
    const bool fHashSingle;    //! whether the hashtype is SIGHASH_SINGLE
But I can't find "SIGHASH_NOINPUT" in bitcoin master source.
This is only in branch?
It doesn't it exist in Bitcoin yet. SIGHASH_NOINPUT requires a soft fork.

2.In Bitcoin blockchain are transactions which opens bidirectional LN channel?
If not, these are in testnet?
This question doesn't make any sense.

3.I want search blocks are find all transactions which opens bidirectional LN channel.
How I can do it?
You can't. Lightning Network funding transactions look identical to any other transaction paying to a P2WSH output.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!