Bitcoin Forum
September 24, 2018, 10:52:46 AM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: SIGHASH_NOINPUT and Lightning Network  (Read 48 times)
Frodek
Member
**
Offline Offline

Activity: 100
Merit: 10


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?
1537786366
Hero Member
*
Offline Offline

Posts: 1537786366

View Profile Personal Message (Offline)

Ignore
1537786366
Reply with quote  #2

1537786366
Report to moderator
1537786366
Hero Member
*
Offline Offline

Posts: 1537786366

View Profile Personal Message (Offline)

Ignore
1537786366
Reply with quote  #2

1537786366
Report to moderator
1537786366
Hero Member
*
Offline Offline

Posts: 1537786366

View Profile Personal Message (Offline)

Ignore
1537786366
Reply with quote  #2

1537786366
Report to moderator
Make a difference with your Ether.
Donate Ether for the greater good.
SPRING.WETRUST.IO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537786366
Hero Member
*
Offline Offline

Posts: 1537786366

View Profile Personal Message (Offline)

Ignore
1537786366
Reply with quote  #2

1537786366
Report to moderator
1537786366
Hero Member
*
Offline Offline

Posts: 1537786366

View Profile Personal Message (Offline)

Ignore
1537786366
Reply with quote  #2

1537786366
Report to moderator
1537786366
Hero Member
*
Offline Offline

Posts: 1537786366

View Profile Personal Message (Offline)

Ignore
1537786366
Reply with quote  #2

1537786366
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1526
Merit: 1654


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


View Profile WWW
September 13, 2018, 01:30:46 PM
Merited by Foxpup (3), 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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!