Unanswered Questions
130 questions with no upvoted or accepted answers
4
votes
0
answers
67
views
How to calculate the hashes in Lightning
I was wondering how I calculate the hashes regarding BOLT03 Specification:
The Revocation Pubkey is calculated like this:
revocationpubkey = revocation_basepoint * SHA256(revocation_basepoint || ...
4
votes
0
answers
675
views
Bitcoinj: How to fix error "You should use Context.propagate() or a ContextPropagatingThreadFactory"
I'm using bitcoinj from a Scala application... and when I start it, I always get the following errors:
[error] o.b.c.Context - Performing thread fixup: you are accessing bitcoinj via a thread that ...
3
votes
0
answers
56
views
What is the advantage of using truncated HASH256 over CRC32?
Some of the checksums in Bitcoin are the first 4 bytes of the HASH256 of the data. HASH256 is just double SHA256, so SHA256(SHA256(data)). What is the advantage of that over using a dedicated checksum ...
3
votes
0
answers
466
views
Electrum Seed Purpose for MultiSig Wallet
I'm curious as to what exactly is protected by the seed that Electrum generates for a multisig wallet. My knowledge of the protocol implementation is rather basic, so please correct me where I'm wrong ...
3
votes
0
answers
742
views
Can I quickly check the cofactor of secp256k1 is 1
I was wondering if there was a quick way to check that the group underlying the elliptic curve secp256k1 was indeed cyclic with the usual point G a generator. I am given the prime number underlying ...
3
votes
0
answers
158
views
Does a bitcoinj SPV node forward transactions for itself?
The bitcoinj library offers a rather convenient WalletAppKit class, which I'd like to accept payments from customers. In order to facilitate the payments I'd offer the customers to send the ...
3
votes
0
answers
257
views
Bitcoin-qt database for BitcoinJ downloadBlockChain()
I am using bitcoinJ to develop a bitcoin based payment module for my project. I have the complete block chain downloaded/in sync with the network on the bitcoin-qt client.
Is there a way I can use ...
3
votes
2
answers
815
views
How to sign a transaction using BitcoinJ
I am having problem signing the transaction using BitcoinJ library without the Wallet instance, I only have the Transaction class instance and the ECKey in order to sign the transaction.
Is there a ...
2
votes
1
answer
302
views
How to spend from a custom P2SH script using bitcore-lib
My Javascript/typescript project uses bitcore-lib. It uses Script.buildScriptHashOut to build custom P2SH outputs. How do I spend from this custom output?
2
votes
0
answers
39
views
Ypub test vectors missing for mainnet
Following extended key derivation scheme in BIP49 is there a publicly available test vector repository for mainnet? The test vectors in https://github.com/bitcoin/bips/blob/master/bip-0049.mediawiki#...
2
votes
0
answers
186
views
(P2WSH-nestedin-P2SH) Problem in solving question 1+5=6
this is my first question at this platform.
this matter has scratched my head badly, please pay patient to read my question.
i am trying to move traditional p2sh tx into p2wsh-nestedin-p2sh tx and ...
2
votes
0
answers
176
views
spend founds from p2wsh address,non-mandatory-script-verify-flag (Signature must be zero for failed CHECK(MULTI)SIG operation) (code 64)
i want spent coin from p2wsh address on btc testnet3 network, i use bitcoinj 0.15.2 build transaction and sign it, use 2/3 multiSig
when i send raw transaction by bitcoin core 0.17.0 command line by ...
2
votes
0
answers
184
views
Proof-of-Stake: How to ensure immutability of the blockchain?
In Proof-of-Work, a miner tries to solve PoW puzzle based on the hash of previous block, such that in case of changing block B_i, all blocks after that (blocks B_i+1, B_i+2, ...) are no longer valid ...
2
votes
0
answers
863
views
How to convert a bitcoin address to the respective hash160 using bash?
I want to convert a list of bitcoin addresses to their respective hash160 values as illustrated using bash :
2
votes
0
answers
340
views
Broadcasting signed transaction from Watching wallet using bitcoinj
I am working with watching wallet and Offline wallet using bitcoinj,
I created Watching Wallet using tpub key of Offline Wallet
I am receiving payment on watching wallet Fine,
now I want to ...