1What is the primary purpose of the Bitcoin peer-to-peer network?
The Bitcoin network
Easy
A.To store users' banking passwords
B.To set national interest rates
C.To issue physical Bitcoin coins
D.To broadcast transactions and blocks
Correct Answer: To broadcast transactions and blocks
Explanation:
The peer-to-peer network distributes Bitcoin transactions and blocks among participating nodes.
Incorrect! Try again.
2What does a Bitcoin full node independently verify?
The Bitcoin network
Easy
A.Government-issued identity documents
B.Only cryptocurrency exchange prices
C.Transactions and blockchain rules
D.Only wallet account names
Correct Answer: Transactions and blockchain rules
Explanation:
A full node checks transactions and blocks against Bitcoin's consensus rules.
Incorrect! Try again.
3What does a Bitcoin wallet primarily manage?
Wallets
Easy
A.Private and public keys
B.Internet service accounts
C.Mining cooling systems
D.Exchange order books
Correct Answer: Private and public keys
Explanation:
A Bitcoin wallet manages the cryptographic keys used to receive and spend bitcoin.
Incorrect! Try again.
4Which wallet information should be kept secret?
Wallets
Easy
A.The network fee
B.The private key
C.The transaction ID
D.The public address
Correct Answer: The private key
Explanation:
A private key can authorize spending, so it must be protected from unauthorized access.
Incorrect! Try again.
5What information does a payer commonly need to send a Bitcoin payment?
Bitcoin payments
Easy
A.The recipient's Bitcoin address
B.The recipient's full blockchain copy
C.The recipient's mining equipment
D.The recipient's email password
Correct Answer: The recipient's Bitcoin address
Explanation:
A recipient provides a Bitcoin address to indicate where the payment should be sent.
Incorrect! Try again.
6What does a Bitcoin transaction confirmation indicate?
Bitcoin payments
Easy
A.The wallet has been deleted
B.The private key is public
C.The exchange rate is fixed
D.The payment has entered a block
Correct Answer: The payment has entered a block
Explanation:
A confirmation begins when a transaction is included in a mined block.
Incorrect! Try again.
7What is Segregated Witness, commonly called SegWit?
Innovation in Bitcoin
Easy
A.A national payment currency
B.A centralized banking service
C.A Bitcoin protocol upgrade
D.A physical hardware miner
Correct Answer: A Bitcoin protocol upgrade
Explanation:
SegWit is a Bitcoin upgrade that changed how signature data is represented in transactions.
Incorrect! Try again.
8Which Bitcoin feature enables conditions to be attached to spending?
Innovation in Bitcoin
Easy
A.The scripting system
B.The exchange ticker
C.The mining fan
D.The wallet label
Correct Answer: The scripting system
Explanation:
Bitcoin Script defines conditions that must be satisfied before an output can be spent.
Incorrect! Try again.
9What is the main goal of the Lightning Network?
Advanced protocols
Easy
A.To support faster off-chain payments
B.To print physical bitcoins
C.To replace all Bitcoin wallets
D.To determine exchange regulations
Correct Answer: To support faster off-chain payments
Explanation:
The Lightning Network uses payment channels to support fast, low-cost payments outside the main blockchain.
Incorrect! Try again.
10What does a multisignature Bitcoin arrangement require?
Advanced protocols
Easy
A.Several required exchange accounts
B.Several required internet providers
C.Several required mining machines
D.Several required cryptographic signatures
Correct Answer: Several required cryptographic signatures
Explanation:
A multisignature arrangement requires signatures from multiple approved keys according to its spending rules.
Incorrect! Try again.
11Which risk is commonly associated with investing in bitcoin?
Bitcoin investment
Easy
A.Automatic deposit insurance
B.Permanent price stability
C.Guaranteed fixed returns
D.Significant price volatility
Correct Answer: Significant price volatility
Explanation:
Bitcoin's market price can rise or fall sharply, creating substantial investment risk.
Incorrect! Try again.
12What is diversification in an investment portfolio?
Bitcoin investment
Easy
A.Spreading funds across different assets
B.Borrowing funds for every purchase
C.Placing every fund in bitcoin
D.Sharing every private key publicly
Correct Answer: Spreading funds across different assets
Explanation:
Diversification spreads investments across assets rather than concentrating all funds in one asset.
Incorrect! Try again.
13What service commonly matches buyers and sellers of bitcoin?
Buying and selling Bitcoin
Easy
A.A blockchain explorer
B.A network mining pool
C.A cryptocurrency exchange
D.A hardware manufacturer
Correct Answer: A cryptocurrency exchange
Explanation:
A cryptocurrency exchange provides a marketplace where users can buy and sell bitcoin.
Incorrect! Try again.
14What does a market order generally do on a Bitcoin exchange?
Buying and selling Bitcoin
Easy
A.Waits only for a chosen exact price
B.Trades near the available market price
C.Confirms a block on the network
D.Creates a new Bitcoin address
Correct Answer: Trades near the available market price
Explanation:
A market order seeks immediate execution using the best prices currently available.
Incorrect! Try again.
15Which software is a widely used full-node implementation of Bitcoin?
Bitcoin client installation
Easy
A.Lightning Explorer
B.Bitcoin Core
C.Crypto Spreadsheet
D.Mining Browser
Correct Answer: Bitcoin Core
Explanation:
Bitcoin Core is a widely used open-source client that can operate as a Bitcoin full node.
Incorrect! Try again.
16What may Bitcoin Core initially download when configured as a full node?
Bitcoin client installation
Easy
A.Every user's private key
B.The Bitcoin blockchain
C.All national bank records
D.All exchange passwords
Correct Answer: The Bitcoin blockchain
Explanation:
A new full node downloads and verifies blockchain data during its initial synchronization.
Incorrect! Try again.
17What is bitcoin-cli mainly used for?
Experimenting further with bitcoin-cli
Easy
A.Creating traditional bank accounts
B.Predicting future market prices
C.Designing physical mining chips
D.Sending commands to Bitcoin Core
Correct Answer: Sending commands to Bitcoin Core
Explanation:
bitcoin-cli is a command-line tool for communicating with a running Bitcoin Core node.
Incorrect! Try again.
18Which bitcoin-cli command returns general blockchain status information?
Experimenting further with bitcoin-cli
Easy
A.getnetworkhashps
B.sendtoaddress
C.getnewaddress
D.getblockchaininfo
Correct Answer: getblockchaininfo
Explanation:
getblockchaininfo reports details such as the current chain, block count, and synchronization progress.
Incorrect! Try again.
19Which interface lets programs send structured commands to Bitcoin Core?
Bitcoin programming
Easy
A.The Bluetooth interface
B.The HDMI interface
C.The JSON-RPC interface
D.The spreadsheet interface
Correct Answer: The JSON-RPC interface
Explanation:
Bitcoin Core exposes a JSON-RPC interface that applications can use to request data and perform supported operations.
Incorrect! Try again.
20What is a Bitcoin transaction ID, often written as TXID?
Bitcoin programming
Easy
A.A username selected by a miner
B.A price assigned by an exchange
C.An identifier derived from transaction data
D.A password for opening a wallet
Correct Answer: An identifier derived from transaction data
Explanation:
A TXID is a hash-based identifier used to reference a particular Bitcoin transaction.
Incorrect! Try again.
21A Bitcoin node receives two valid competing blocks at the same height. One branch later receives another valid block. Which rule determines the branch the node should follow?
The Bitcoin network
Medium
A.Follow the branch with the most accumulated proof-of-work
B.Follow the branch first announced by the largest mining pool
C.Follow the branch whose latest block has the smallest hash
D.Follow the branch containing the greatest number of transactions
Correct Answer: Follow the branch with the most accumulated proof-of-work
Explanation:
Bitcoin nodes select the valid chain with the greatest accumulated chainwork. A node may reorganize to that branch when it overtakes the competing branch.
Incorrect! Try again.
22A transaction is valid under Bitcoin's consensus rules, but its fee rate is below a node's minimum relay fee. What will that node most likely do?
The Bitcoin network
Medium
A.Reject it from its mempool and usually not relay it
B.Add it permanently to the blockchain without confirmation
C.Mine it immediately because consensus validity overrides policy
D.Relay it but mark all of its outputs as unspendable
Correct Answer: Reject it from its mempool and usually not relay it
Explanation:
Mempool admission and transaction relay use local policy rules in addition to consensus rules. A low-fee transaction can be consensus-valid but still rejected by a node's mempool.
Incorrect! Try again.
23A user backs up the seed phrase of a hierarchical deterministic wallet before generating 50 additional receiving addresses. Assuming no extra passphrase is used, what can the backup restore?
Wallets
Medium
A.The private keys for addresses derived from the same seed
B.Only addresses generated before the backup was created
C.The blockchain records but none of the wallet's private keys
D.Only the address that was active when the backup was created
Correct Answer: The private keys for addresses derived from the same seed
Explanation:
An HD wallet deterministically derives many keys from one seed. Restoring that seed allows the wallet to regenerate later receiving and change addresses along the same derivation paths.
Incorrect! Try again.
24A company wants an internet-connected system to monitor funds and prepare payments without storing private keys online. Which design best meets this requirement?
Wallets
Medium
A.Use a watch-only wallet online and sign PSBTs offline
B.Store an unencrypted seed file on the online payment server
C.Use a paper wallet to sign transactions through a web browser
D.Import every private key into the online monitoring database
Correct Answer: Use a watch-only wallet online and sign PSBTs offline
Explanation:
A watch-only wallet can track addresses and prepare Partially Signed Bitcoin Transactions. An offline wallet can then verify and sign those transactions without exposing private keys online.
Incorrect! Try again.
25A wallet selects UTXOs worth BTC and BTC. It sends BTC and pays a fee of BTC. What change output should it create?
Bitcoin payments
Medium
A. BTC
B. BTC
C. BTC
D. BTC
Correct Answer: BTC
Explanation:
The selected inputs total BTC. The change is BTC.
Incorrect! Try again.
26A merchant delivers an expensive product immediately after seeing an unconfirmed Bitcoin transaction. Which risk is most directly increased?
Bitcoin payments
Medium
A.The transaction fee may be refunded automatically to the buyer
B.The transaction may be replaced or conflict with another spend
C.The payment address may stop being valid after one transaction
D.The output amount may increase when the next block is created
Correct Answer: The transaction may be replaced or conflict with another spend
Explanation:
An unconfirmed transaction is not yet included in the blockchain and can conflict with another transaction spending the same input. Waiting for confirmations reduces this double-spend risk.
Incorrect! Try again.
27Why was Segregated Witness important for protocols that depend on referencing an unconfirmed parent transaction?
Innovation in Bitcoin
Medium
A.It made relevant transaction identifiers resistant to third-party signature malleability
B.It replaced proof-of-work with signature-based block production
C.It allowed nodes to confirm transactions without receiving blocks
D.It removed the need to pay fees for dependent transactions
Correct Answer: It made relevant transaction identifiers resistant to third-party signature malleability
Explanation:
SegWit separates witness data from the transaction identifier calculation. For SegWit spends, this prevents third parties from changing signatures in a way that alters the transaction ID.
Incorrect! Try again.
28A Taproot output contains several alternative spending conditions, but only one condition is used. What is a key on-chain benefit of its script-tree design?
Innovation in Bitcoin
Medium
A.The output can be spent without a signature or valid script
B.Every unused condition is permanently removed from the wallet
C.All spending conditions are executed simultaneously by each node
D.Only the executed script path and its proof need to be revealed
Correct Answer: Only the executed script path and its proof need to be revealed
Explanation:
Taproot's script-tree structure allows a spender to reveal only the condition being used and the data needed to prove its inclusion. This can improve privacy and reduce on-chain data.
Incorrect! Try again.
29Three directors control a Bitcoin treasury using a 2-of-3 multisignature policy. Which statement correctly describes the spending condition?
Advanced protocols
Medium
A.Any one director can spend, but all three must approve recovery
B.Any two directors can spend, while one key alone is insufficient
C.All three directors must sign every transaction from the treasury
D.Exactly two named directors must sign, excluding the third director
Correct Answer: Any two directors can spend, while one key alone is insufficient
Explanation:
A 2-of-3 policy accepts signatures from any two of the three authorized keys. Losing one key does not prevent spending, while compromising only one key is insufficient to steal the funds.
Incorrect! Try again.
30In a cross-chain atomic swap, why are hashlocks commonly combined with timelocks?
Advanced protocols
Medium
A.Hashlocks reveal a shared secret, while timelocks permit later refunds
B.Hashlocks select miners, while timelocks prevent transaction signatures
C.Hashlocks encrypt blocks, while timelocks accelerate block production
D.Hashlocks set exchange rates, while timelocks calculate network fees
Correct Answer: Hashlocks reveal a shared secret, while timelocks permit later refunds
Explanation:
Claiming one side of the swap reveals the secret needed to claim the other side. Timelocks allow participants to recover their funds if the swap is not completed.
Incorrect! Try again.
31An investor buys the same fiat value of Bitcoin every month regardless of price. What is the most accurate effect of this strategy?
Bitcoin investment
Medium
A.It eliminates volatility by fixing the number of bitcoins purchased monthly
B.It guarantees a profit whenever the holding period exceeds one year
C.It ensures the average purchase price equals the lowest market price
D.It reduces dependence on choosing one purchase time but retains market risk
Correct Answer: It reduces dependence on choosing one purchase time but retains market risk
Explanation:
Dollar-cost averaging spreads purchases across different market prices, reducing sensitivity to a single entry point. It does not eliminate volatility or guarantee a profit.
Incorrect! Try again.
32An investor moves Bitcoin from a custodial exchange to a properly initialized hardware wallet. Which risk trade-off has most directly changed?
Bitcoin investment
Medium
A.Market-price risk falls, but blockchain reorganization risk increases
B.Transaction-fee risk disappears, but inflation risk becomes unavoidable
C.Mining difficulty risk falls, but exchange-rate volatility increases
D.Exchange counterparty risk falls, but key-management responsibility increases
Correct Answer: Exchange counterparty risk falls, but key-management responsibility increases
Explanation:
Self-custody reduces dependence on an exchange's solvency and withdrawal policies. However, the investor becomes responsible for protecting the seed, backups, and signing devices.
Incorrect! Try again.
33Bitcoin trades at $31,000, but a buyer submits a limit buy order at $30,000. What should the buyer expect?
Buying and selling Bitcoin
Medium
A.The order guarantees execution before the end of the trading day
B.The order executes immediately at the current market price
C.The order executes only at $30,000 or a lower available price
D.The order converts automatically into a sale above $31,000
Correct Answer: The order executes only at $30,000 or a lower available price
Explanation:
A limit buy sets the maximum price the buyer is willing to pay. The order may remain unfilled if sellers never offer Bitcoin at $30,000 or less.
Incorrect! Try again.
34An exchange quotes a bid of $42,000 and an ask of $42,400 for one bitcoin. Ignoring fees, which price applies to a customer making an immediate purchase?
Buying and selling Bitcoin
Medium
A.$42,400, because an immediate buyer pays the ask price
B.$42,000, because buyers always receive the bid price
C.$42,200, because market orders execute at the midpoint
D.$42,800, because the spread is added to the ask price
Correct Answer: $42,400, because an immediate buyer pays the ask price
Explanation:
The ask is the lowest price at which a seller currently offers Bitcoin. An immediate buyer crosses the spread and purchases at the available ask price.
Incorrect! Try again.
35Before installing a downloaded Bitcoin client, which procedure provides the strongest evidence that the file is both authentic and unchanged?
Bitcoin client installation
Medium
A.Verify its signed checksums using a trusted developer signing key
B.Check that the filename contains the expected version number
C.Compare the file size with a copy from an online discussion forum
D.Confirm that the download completed without a browser warning
Correct Answer: Verify its signed checksums using a trusted developer signing key
Explanation:
A checksum detects file changes, while a trusted digital signature authenticates the published checksum. Both should be verified before running the installer.
Incorrect! Try again.
36A user enables pruning in Bitcoin Core because disk space is limited. Which outcome should the user expect?
Bitcoin client installation
Medium
A.The node validates blocks but deletes older block data after validation
B.The node validates only transactions involving addresses in its wallet
C.The node stores every old block but removes all transaction signatures
D.The node skips historical validation and trusts balances from its peers
Correct Answer: The node validates blocks but deletes older block data after validation
Explanation:
A pruned node still performs blockchain validation but discards older block files to limit storage usage. It generally cannot serve all historical blocks to other peers.
Incorrect! Try again.
37The output of bitcoin-cli getblockchaininfo reports headers: 850000 and blocks: 849997. What is the most reasonable interpretation?
Experimenting further with bitcoin-cli
Medium
A.The node knows three more block headers than blocks it has validated
B.The node has created three invalid blocks during initial synchronization
C.The node's wallet contains three transactions awaiting confirmation
D.The node has validated three blocks that its peers have not announced
Correct Answer: The node knows three more block headers than blocks it has validated
Explanation:
headers indicates the best header height known to the node, while blocks indicates its validated active-chain height. The node is therefore approximately three blocks behind.
Incorrect! Try again.
38Which command sequence should be used to retrieve a decoded, verbose block at height 700000?
Experimenting further with bitcoin-cli
Medium
A.Run bitcoin-cli getchaintxstats 700000, then bitcoin-cli listtransactions
B.Run bitcoin-cli getrawtransaction 700000, then bitcoin-cli decoderawtransaction
C.Run bitcoin-cli getblockcount 700000, then bitcoin-cli getblock 700000 2
D.Run bitcoin-cli getblockhash 700000, then bitcoin-cli getblock <hash> 2
Correct Answer: Run bitcoin-cli getblockhash 700000, then bitcoin-cli getblock <hash> 2
Explanation:
getblockhash converts a block height into its block hash. Passing that hash to getblock with verbosity level 2 returns decoded block and transaction information.
Incorrect! Try again.
39A payment application must calculate transaction outputs and fees precisely. Which internal representation is safest for monetary values?
Bitcoin programming
Medium
A.Formatted text values including currency symbols
B.Rounded percentage values measured in fee units
C.Binary floating-point values measured in bitcoins
D.Integer values measured in satoshis
Correct Answer: Integer values measured in satoshis
Explanation:
Using integer satoshi amounts avoids floating-point rounding errors. One bitcoin equals satoshis.
Incorrect! Try again.
40A merchant's web application receives a transaction ID from a customer's browser. What should the application do before marking the invoice as securely paid?
Bitcoin programming
Medium
A.Ask the browser to resend the transaction ID until two responses match
B.Query a trusted node and verify the output, amount, and required confirmations
C.Check only that the transaction ID contains exactly 64 hexadecimal characters
D.Trust the transaction ID because hashes cannot represent fraudulent payments
Correct Answer: Query a trusted node and verify the output, amount, and required confirmations
Explanation:
A transaction ID supplied by a customer is only a claim. The application should verify through a trusted node that the transaction pays the expected script and amount and has sufficient confirmations.
Incorrect! Try again.
41A Bitcoin node receives two valid competing chain tips. Chain A has height 850,100 and cumulative chainwork . Chain B has height 850,098 and cumulative chainwork . Assuming neither chain violates consensus rules, which tip will the node select?
The Bitcoin network
Hard
A.Chain A, because reorganizations to lower heights are invalid
B.Chain B, because lower-height chains receive a propagation preference
C.Chain B, because it has greater cumulative proof-of-work
D.Chain A, because it contains two more confirmed blocks
Correct Answer: Chain B, because it has greater cumulative proof-of-work
Explanation:
Bitcoin selects the valid chain with the greatest cumulative chainwork, not necessarily the greatest height. Chain B represents more total proof-of-work.
Incorrect! Try again.
42While processing a BIP152 compact block, a node reconstructs every transaction except three whose short IDs are ambiguous or absent from its mempool. What is the normal recovery procedure?
The Bitcoin network
Hard
A.Discard the announcement and wait until another peer advertises the full block
B.Accept the partial block provisionally, then validate it after the next confirmation
C.Request every transaction with getdata, then rebuild the compact-block header
D.Request the missing transactions with getblocktxn, then validate the reconstructed block
Correct Answer: Request the missing transactions with getblocktxn, then validate the reconstructed block
Explanation:
The receiver requests missing transaction indexes using getblocktxn; the peer replies with blocktxn. The complete block must still pass all normal consensus validation.
Incorrect! Try again.
43A watch-only wallet imports the descriptor wpkh([d34db33f/84h/0h/0h]xpub.../0/*). What can it do without access to the corresponding private keys?
Wallets
Hard
A.Derive receiving addresses and sign, because the hardened steps precede the xpub
B.Derive receiving addresses and detect payments, but not produce valid signatures
C.Detect payments to imported addresses, but not derive additional child addresses
D.Derive private child keys, but only for the unhardened wildcard portion
Correct Answer: Derive receiving addresses and detect payments, but not produce valid signatures
Explanation:
The origin path documents how the xpub was obtained. The wallet can derive the unhardened /0/* public children, but an xpub cannot generate private keys or signatures.
Incorrect! Try again.
44An HD wallet is restored from its seed, but an address at receive index 5,000 was used after a long sequence of unused addresses. A standard discovery scan stops before reaching it. Which remedy addresses the actual problem?
Wallets
Hard
A.Regenerate the master key with a new birthday and preserve the original gap limit
B.Rescan the same blocks with the unchanged derivation range and a larger fee rate
C.Import the seed as a legacy key and rebuild only the wallet transaction database
D.Increase the derivation look-ahead or descriptor range and rescan the relevant blocks
Correct Answer: Increase the derivation look-ahead or descriptor range and rescan the relevant blocks
Explanation:
A blockchain rescan cannot find outputs for scripts the wallet never derived. The wallet must extend its address range or gap limit and then scan the relevant blockchain history.
Incorrect! Try again.
45A merchant receives an unconfirmed payment that signals replaceability. The merchant controls the payment output and can create a high-fee child transaction. Which statement best characterizes the merchant's security?
Bitcoin payments
Hard
A.The child converts the parent into a confirmed transaction under package relay rules
B.The child guarantees payment if its combined fee rate exceeds the minimum relay fee
C.CPFP permanently removes replaceability once the child reaches the peer-to-peer network
D.CPFP may accelerate confirmation, but it cannot prevent a conflicting replacement of the parent
Correct Answer: CPFP may accelerate confirmation, but it cannot prevent a conflicting replacement of the parent
Explanation:
Child-pays-for-parent can improve package mining incentives, but the unconfirmed parent may still be replaced or conflicted. Confirmations are needed for stronger settlement assurance.
Incorrect! Try again.
46A finalized payment transaction has weight 721 WU, spends inputs totaling 150,000 sat, and pays the recipient 100,000 sat. At exactly 25 sat/vB, with no other deductions or dust issue, what change output is required?
Bitcoin payments
Hard
A.45,475 sat
B.45,500 sat
C.49,279 sat
D.31,975 sat
Correct Answer: 45,475 sat
Explanation:
Virtual size is vB, so the fee is sat. Change is sat.
Incorrect! Try again.
47For a transaction whose inputs are all native SegWit inputs, what happens if a third party modifies only witness serialization without invalidating the transaction?
Innovation in Bitcoin
Hard
A.The wtxid can change while the txid remains unchanged
B.Both identifiers must remain unchanged because witnesses are committed by signatures
C.Both identifiers change because SegWit stores witnesses inside the legacy transaction ID
D.The txid can change while the wtxid remains unchanged
Correct Answer: The wtxid can change while the txid remains unchanged
Explanation:
The legacy txid excludes SegWit witness data, while the wtxid includes it. This separation mitigates third-party transaction-ID malleability for SegWit spends.
Incorrect! Try again.
48A Taproot output commits to one key-path spend and several script leaves. If one script-path leaf is exercised, what is revealed on-chain?
Innovation in Bitcoin
Hard
A.The executed script and every sibling script in plaintext, but not the internal key
B.Every committed script, the internal private key, and the complete Merkle tree
C.Only a Schnorr signature, with all script-path information remaining hidden
D.The executed script, its control block, and the hashes needed for its Merkle path
Correct Answer: The executed script, its control block, and the hashes needed for its Merkle path
Explanation:
A Taproot script-path spend selectively reveals the executed leaf and a control block proving its commitment. Unexecuted sibling scripts remain hidden behind hashes.
Incorrect! Try again.
49In a cross-chain atomic swap, Alice chooses secret and first locks coins on Chain A. Bob then locks coins on Chain B using the same hashlock. Which timelock and redemption arrangement protects both parties?
Advanced protocols
Hard
A.Alice's Chain A refund expires later; Alice redeems on B and reveals for Bob
B.Bob's Chain B refund expires later; Bob redeems on A without learning Alice's secret
C.Both refunds expire simultaneously; Bob privately sends after Alice's confirmation
D.Alice's Chain A refund expires earlier; Bob redeems on B and reveals for Alice
Correct Answer: Alice's Chain A refund expires later; Alice redeems on B and reveals for Bob
Explanation:
Alice redeems Bob's contract and reveals . Bob then uses to redeem Alice's contract. Alice's original contract needs the longer timeout so Bob has time to act.
Incorrect! Try again.
50In a penalty-based Lightning channel, a dishonest peer broadcasts a revoked commitment transaction while the honest peer is offline. What must a watchtower do?
Advanced protocols
Hard
A.Reveal the current channel secret to miners so they can invalidate the revoked transaction
B.Detect the revoked commitment and publish the preconstructed justice transaction before the delay expires
C.Publish a cooperative close transaction after the revoked commitment receives one confirmation
D.Replace the revoked commitment with the latest state using a higher absolute transaction fee
Correct Answer: Detect the revoked commitment and publish the preconstructed justice transaction before the delay expires
Explanation:
Revoked states expose a penalty path. A watchtower monitors for a matching breach and broadcasts the justice transaction before the dishonest party's delayed output becomes spendable.
Incorrect! Try again.
51An investment gains 50% in year one and loses 50% in year two. Ignoring fees and taxes, what happens to an initial investment of $100,000?
Bitcoin investment
Hard
A.It ends at $50,000, because the second-year loss offsets the original capital
B.It ends at $75,000, representing a cumulative loss of 25%
C.It ends at $87,500, representing the geometric mean of the returns
D.It ends at $100,000, because the arithmetic mean return is zero
Correct Answer: It ends at $75,000, representing a cumulative loss of 25%
Explanation:
Returns compound multiplicatively: . Equal percentage gains and losses do not cancel because they apply to different bases.
Incorrect! Try again.
52A portfolio begins with $60 in Bitcoin and $40 in cash. Bitcoin then falls 40% while cash is unchanged. To restore the original 60/40 allocation without adding funds, what trade is required?
Bitcoin investment
Hard
A.Sell $9.60 of Bitcoin for cash
B.Sell $5.60 of Bitcoin for cash
C.Buy $14.40 of Bitcoin using cash
D.Buy $9.60 of Bitcoin using cash
Correct Answer: Buy $9.60 of Bitcoin using cash
Explanation:
After the decline, Bitcoin is worth $36 and the portfolio is worth $76. A 60% target is $45.60, so $45.60-36=9.60$ must be moved from cash to Bitcoin.
Incorrect! Try again.
53An exchange order book has asks of 0.3 BTC at $60,000, 0.4 BTC at $60,200, and 0.5 BTC at $60,500. Ignoring fees, what is the volume-weighted average execution price of a 0.8 BTC market buy?
Buying and selling Bitcoin
Hard
A.$60,200.00 per BTC
B.$60,500.00 per BTC
C.$60,275.00 per BTC
D.$60,162.50 per BTC
Correct Answer: $60,162.50 per BTC
Explanation:
The order consumes 0.3, 0.4, and 0.1 BTC from the three levels. The VWAP is .
Incorrect! Try again.
54The best ask is $60,100. A trader submits a post-only limit buy for 2 BTC at $60,000. What is the most accurate expected behavior?
Buying and selling Bitcoin
Hard
A.The order is necessarily rejected because every post-only order must cross the spread
B.The order executes immediately at $60,000 because limit prices bind the seller
C.The order executes immediately at $60,100 because that is the nearest available ask
D.The order rests on the book and may fill partially or fully at $60,000 or lower
Correct Answer: The order rests on the book and may fill partially or fully at $60,000 or lower
Explanation:
The buy does not cross the current best ask, so it can rest as maker liquidity. A buy limit sets the maximum execution price but does not guarantee execution.
Incorrect! Try again.
55Which procedure provides the strongest practical verification of a downloaded Bitcoin Core release before installation?
Bitcoin client installation
Hard
A.Compare the website's version string, then scan the executable with one antivirus product
B.Verify trusted signatures on the checksum manifest, then match the binary's cryptographic hash
C.Run the binary in administrator mode, then accept the operating system's first-run warning
D.Confirm that the download used HTTPS, then compare the binary's filename and file size
Correct Answer: Verify trusted signatures on the checksum manifest, then match the binary's cryptographic hash
Explanation:
TLS alone does not establish release authenticity. Verifying trusted maintainer signatures and then checking the binary against the authenticated hash detects substitution or corruption.
Incorrect! Try again.
56Which statement accurately describes a Bitcoin Core node operating with block pruning enabled?
Bitcoin client installation
Hard
A.It validates the chain and retains the UTXO set, but discards old block data and limits historical rescans
B.It retains every old transaction but removes block headers after calculating cumulative chainwork
C.It skips validation for discarded blocks and therefore must trust checkpoints for the current UTXO set
D.It can serve arbitrary historical blocks because pruning removes only wallet-related transaction records
Correct Answer: It validates the chain and retains the UTXO set, but discards old block data and limits historical rescans
Explanation:
Pruning reduces storage after full validation; it does not turn the node into a trusted or SPV client. Historical blocks that were discarded cannot be served or rescanned without obtaining them again.
Incorrect! Try again.
57A confirmed transaction is absent from the mempool, and the node was started without -txindex. Its containing block is known and still stored locally. Which RPC can retrieve the decoded transaction?
Supplying the containing block hash allows getrawtransaction to search that available block without a global transaction index. The second argument requests decoded JSON output.
Incorrect! Try again.
58Several wallets must independently sign the same funded multisignature PSBT. Which command sequence correctly combines and broadcasts the result?
Experimenting further with bitcoin-cli
Hard
A.decodepsbt per signer, utxoupdatepsbt, then sendrawtransaction with the base64 PSBT
B.walletprocesspsbt per signer, combinepsbt, finalizepsbt, then sendrawtransaction
C.signrawtransactionwithwallet per signer, joinpsbts, then submitblock with the PSBT
D.combinepsbt before signing, sendrawtransaction, then finalizepsbt after confirmation
Correct Answer: walletprocesspsbt per signer, combinepsbt, finalizepsbt, then sendrawtransaction
Explanation:
Each wallet adds its partial signatures to a PSBT copy. combinepsbt merges them, finalizepsbt produces the complete raw transaction, and sendrawtransaction broadcasts its hex.
Incorrect! Try again.
59Under legacy or SegWit v0 signature hashing, what does SIGHASH_SINGLE | SIGHASH_ANYONECANPAY primarily allow when the signed input has a corresponding output index?
Bitcoin programming
Hard
A.Other outputs may be added, while the signature commits to all existing inputs and no outputs
B.Other inputs may be added, while the signature commits to the current input and matching output
C.Any input or output may be changed, while the signature commits only to the transaction version
D.No inputs may be added, while outputs preceding the matching output remain fully committed
Correct Answer: Other inputs may be added, while the signature commits to the current input and matching output
Explanation:
ANYONECANPAY limits the input commitment to the current input, while SINGLE commits to the output at the same index. This supports collaborative constructions with carefully aligned indexes.
Incorrect! Try again.
60A native P2WSH output commits to a 2-of-3 CHECKMULTISIG witness script. Which witness-stack structure correctly spends it with two valid signatures?
Bitcoin programming
Hard
A.An empty dummy element, two ordered signatures, and the witness script as the final element
B.The witness script, three public keys, two signatures, and no dummy stack element
C.An empty dummy element, two signatures, and the redeem script placed in scriptSig
D.Two ordered signatures, the script hash, and an empty dummy element as the final element
Correct Answer: An empty dummy element, two ordered signatures, and the witness script as the final element
Explanation:
CHECKMULTISIG consumes an extra dummy element because of its historical off-by-one behavior. For native P2WSH, the signatures and witness script are supplied in the witness, while scriptSig is empty.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →