Questions tagged [implementation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
66 views

How can I find out what proportion of the LN nodes are running specific implementations?

Is there a way to find out what Lightning implementations power which proportion of the Lightning Network? I tried checking a number of websites with statistics about the Lightning Network including ...
Murch's user avatar
  • 72.6k
0 votes
0 answers
57 views

Recover an implement old Multisignature Wallet with different Keys

I have a problem with a multisig wallet. The keys are no longer accepted by the console. Only a part of the keys can be inserted. The wallet is then also displayed to me. What happened afterwards is ...
Johnny S's user avatar
1 vote
0 answers
585 views

Is there an up-to-date and viable rust implementation of Bitcoin?

I saw 2 rust implementations of Bitcoin. Parity Bitcoin: https://github.com/paritytech/parity-bitcoin Rust-Bitcoin: https://github.com/apoelstra/rust-bitcoin They are not updated for some time now. ...
satya's user avatar
  • 171
2 votes
1 answer
134 views

Is the entire blockchain kept in memory?

Putting aside pool mining, does the Bitcoin mining program keep the entire blockchain in memory? Including transactions? I've been reading through the original Bitcoin code and it looks like the ...
Addy's user avatar
  • 171
6 votes
2 answers
921 views

Is it doable to supplant the current Bitcoin Core implementation with another rewritten in a different language?

Can Bitcoin Core be rewritten in another language, let's say Rust, and could such an implementation supplant the current one in C++ without the users of Bitcoin experiencing some sort of reset/lost of ...
John Smith's user avatar
0 votes
1 answer
42 views

Why are blocks and reverse patches not stored in individual files?

Block and reverse patches are currently stored in .dat files, and in each .dat file there are several blocks or reverse patches. What is the reason why blocks are not stored in individual files called,...
giacomocaironi's user avatar
8 votes
1 answer
248 views

CVE-2012-2459 , possible code and performance improvement, is my logic correct?

ok so, in my effort to create a fullnode from scratch both for learning purpose and need (not a topic for discussion, thanks), I was looking at the code that check Merkle Root to not be vulnerable to ...
Not Important's user avatar
1 vote
0 answers
81 views

How to sign a 2-of-2 multisig address?

I want to implement 2-of-2 multisig in bitcoinj, and I implement the methods which are used to sign the first time and the second time. But there is a bug that using the same key for the first signing ...
Oiiiwk's user avatar
  • 31
0 votes
1 answer
109 views

Error message still returned after transaction was indeed broadcast

I use bitcoinj to create the following method to broadcast a raw transacion in testnet, and I did see on bitcoin explorer that it has been broadcast. But even the transaction has been already ...
Oiiiwk's user avatar
  • 31
0 votes
1 answer
67 views

Do payment channels have an address? And where are their transactions actually being written to?

In the Lighting Network or with micropayment it's possible to open up payment channels that basically work like a smart contract. At the beginning, the channel is funded by one or two parties with ...
Marcus's user avatar
  • 115
1 vote
0 answers
68 views

How to implement 2/2 multi-signature transactions with bitcoinj

I am using bitcoinj to implement a 2/2 multi-signature transaction. Now I want to use bitcoinj to generate a 2/2 multi-signature address and its corresponding Redeem Script through the public keys of ...
Oiiiwk's user avatar
  • 31
3 votes
1 answer
324 views

Python implementation for LND path finding algorithm

The most common Lightning nodes use GO, C or Scala for their implementation. Is there any publicly available Python implementation for the path finding algorithm any of the most known clients use (LND,...
George 's user avatar
0 votes
2 answers
59 views

What is a cryptocoin made of?

I want to know whether a cryptocoin is made of some piece of code or it is kind of a bill that says a person has transferred conceptual coin to another person when a transaction is published. If it is ...
user avatar
0 votes
1 answer
94 views

Implementation of getdata

I am confused about how getdata() is actually implemented at full nodes. Suppose a full node receives a getdata() request with MSG_BLOCK flag and a hash H of some block B. Then would it simply look ...
archita's user avatar
  • 13
5 votes
1 answer
334 views

Why was BIP34 (Block v2, Height in Coinbase) not implemented via the coinbase tx's locktime or nSequence?

At some point in 2011/12 miners started using custom mining algorithms ignoring the best practise to mine to a different new public key (hash) for each subsequent block. This lead to a lack of ...
Felix Weis's user avatar
0 votes
2 answers
529 views

How to install Hard Fork of Bitcoin, such as Bitcoin Cash and Bitcoin Gold?

Just like the title, how do I install hard fork of Bitcoin, such as Bitcoin Cash or Bitcoin Gold? I would like to install Bitcoin Cash core in Ubuntu 16.04. It seems like there is not a single ...
JayB Kim's user avatar
  • 109
1 vote
1 answer
791 views

Bitcoin core multisig signing order

I have a technical question regarding the signrawtransaction function in Bitcoin core when signing a partially-signed transaction. I have tested different scenarios and signrawtransaction will always ...
Bjarne Magnussen's user avatar