logo
  • Forum
  • Reddit
  • #Slack BitcoinCore
  • #Slack
  • Bitcoin Wiki
  • Bitcoin.org

Προτεινόμενο patch επιτρέπει την λειτουργία του Bitcoin-qt σε υβριδικό SPV mode

Posted on: November 4, 2016 /
Comments: No comments /
Categories: Bitcoin Core

Πειραματικό προτεινόμενο patch από τον developer του Bitcoin Jonas Schnelli δίνει την δυνατότητα στο Bitcoin-qt πορτοφόλι την λειτουργία του σε υβριδικό spv και full node mode καθώς και στην αποκλειστική λειτουργία του πορτοφολιού σε spv mode.

H δυνατότητα αυτή θα επιτρέπει στους κατόχους κάποιου bitcoin-qt wallet να βλέπουν άμεσα τα διαθέσιμα Bitcoin τους καθώς και να πραγματοποιούν συναλλαγές κατά την διάρκεια και πριν ολοκληρωθεί ο συγχρονισμός με το Bitcoin Blockchain, μια δυνατότητα που ήδη έχουν σχεδόν όλα τα υπόλοιπα mobile και desktop wallet.

work in progress, seeks conceptual review
very experimental right now

This adds a hybrid and pure SPV mode to bitcoin cores wallet (including GUI).
The main out-of-band block requests are handled over the new “lock-free” class CBlockRequest.
This is a generic interface to allow retrieving a range of blocks (only headers PoW check, no validation) and throw them through the SyncTransaction() signals (could also be useful for ZMQ, etc,).

Hybrid mode

Can be enabled by -spv.
If enabled, the wallet tries to download blocks from the depth where the wallet was created (oldest key-birthday). Those requested blocks are getting prioritized in FindNextBlocksToDownload().
Once the next block (in order/sequence) has been retrieved, it gets sent through the SyncTransaction signal. Those – non-verified transactions will get a spv=true flag (visible in the GUI as well as over RPC).
The blocks are kept on the disk for later verification.
In the background, the IBD/verification is still processing/downloading blocks. Once a transaction was verified by connecting/verifying its block, the SPV flag gets removed from the transaction.

This result in a hybrid full-block SPV mode where the users doesn’t need to download more (they later need to verify the blocks near the tip anyways) but its possible to already see incoming transactions and send out coins

Pure SPV

Can be enabled by -spvonly.
Result in not downloading blocks for verification.

 

Σε αντίθεση με τα υπόλοιπα bitcoin wallet για να χρησιμοποιήσει κάποιος το bitcoin-qt wallet μέχρι σήμερα χρειαζόταν να περιμένει ώρες για να συγχρονιστεί πρώτα με το Blockchain δίκτυο και να κατεβάσει το ιστορικό όλων των Bitcoin συναλλαγών που αυτή την στιγμή ξεπερνάει τα 80gb.

To νέο αυτό χαρακτηριστικό είναι σε πολύ πρώιμο στάδιο και αναμένετε να ενσωματωθεί στο Bitcoin-qt wallet σε κάποια από τις επόμενες εκδόσεις του.

Tags: bitcoin
July 2025
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Oct    

CC0
To the extent possible under law, https://bitcoin-gr.org/ has waived all copyright and related or neighboring rights to this work. This work is published from: Ελλάδα.

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok