Questions tagged [implementation]
The implementation tag has no summary.
18 questions
0 votes
1 answer
131 views
modified Hash Time Locked Contracts
I'm currently working on implementing a modified version of Hash Time Locked Contracts (HTLC) in Bitcoin and would greatly appreciate any guidance or best practices from the community. Objective: I ...
1 vote
2 answers
96 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 ...
0 votes
0 answers
77 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 ...
1 vote
0 answers
1k 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. ...
2 votes
1 answer
198 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 ...
7 votes
2 answers
1k 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 ...
0 votes
1 answer
51 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,...
8 votes
1 answer
363 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 ...
1 vote
0 answers
95 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 ...
0 votes
1 answer
136 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 ...
0 votes
1 answer
100 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 ...
1 vote
0 answers
87 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 ...
3 votes
1 answer
368 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,...
0 votes
2 answers
82 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 ...
0 votes
1 answer
144 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 ...