Permalink
Switch branches/tags
Nothing to show
Commits on Oct 3, 2016
  1. assets are indexed in the database by their hashes, not their ids, an…

    Bill White
    Bill White committed Oct 3, 2016
    …d the hash is what
    
    printasset expects. Updated some code and documentation to make this clearer.
  2. explained that printassets might need to be called multiple times to …

    Bill White
    Bill White committed Oct 3, 2016
    …fetch enough of the ledger tree to give complete information
  3. added an ip and port for a testnet fallback node

    Bill White
    Bill White committed Oct 3, 2016
  4. Restored Trent Russell's Dbbasic database implementation (since it re…

    Bill White
    Bill White committed Oct 3, 2016
    …quires much less RAM than Dbbasic2);
    
    Dbbasic2 is also still in the code, and either implementation can be chosen before compiling the code.
Commits on Sep 26, 2016
  1. finished updating the technical documentation to reflect the changes …

    Bill White
    Bill White committed Sep 26, 2016
    …in the code over the past few months
  2. removed old testnet fallback address

    Bill White
    Bill White committed Sep 26, 2016
  3. removed old 'recenttxs' code from commands

    Bill White
    Bill White committed Sep 26, 2016
Commits on Sep 25, 2016
  1. removing extra log comments

    Bill White
    Bill White committed Sep 25, 2016
  2. partial update to technical documentation to reflect changes over the…

    Bill White
    Bill White committed Sep 25, 2016
    … past months
Commits on Sep 24, 2016
  1. extended inv_of_msgtype to include Checkpoint msgs

    Bill White
    Bill White committed Sep 24, 2016
  2. removed unused code from db

    Bill White
    Bill White committed Sep 24, 2016
  3. removed unused currledgerroot from config

    Bill White
    Bill White committed Sep 24, 2016
Commits on Sep 18, 2016
  1. added checkpoints where privkey for signing is given by new checkpoin…

    Bill White
    Bill White committed Sep 18, 2016
    …tskey option;
    
    changed the db for headers to include an iteration function which replaces the old headers file for reinitializing on startup;
    moved code for generating randomness to utils and sha256
Commits on Sep 10, 2016
  1. changed the database module type to include dbinit and implementation…

    Bill White
    Bill White committed Sep 10, 2016
    … to be Dbbasic2 instead of Dbbasic.
    
    It now uses hash tables to keep the full contents of index and deleted files in memory.
    The index files are no longer sorted. The contents of the index and deleted files are
    read into the hash table upon initialization, when the dbinit functions are called.
  2. modified valid_block check to return an updated theory tree and signa…

    Bill White
    Bill White committed Sep 10, 2016
    …ture tree upon success.
    
    Previously this was handled via updated global refs, but this is incompatible with having multiple threads
    each of which may be checking validity of different blocks (leading to race conditions)
  3. added threads dependency to db and blocktree

    Bill White
    Bill White committed Sep 10, 2016
Commits on Sep 4, 2016
  1. added a great deal of log messages for debugging;

    Bill White
    Bill White committed Sep 4, 2016
    fixed some race conditions, esp in the database code;
    misc debugging
Commits on Aug 13, 2016
  1. increased the locked maturation time to 512 blocks to avoid a stake g…

    Bill White
    Bill White committed Aug 13, 2016
    …rinding attack
    
    pointed out by ldc73 on bitcointalk
Commits on Aug 11, 2016
  1. ?

    Bill White
    Bill White committed Aug 11, 2016
  2. deleted blockdeltah in favor of only having the blockdelta representa…

    Bill White
    Bill White committed Aug 11, 2016
    …tion;
    
    reworked the sharing of block headers and deltas among peers (still not fully working)
Commits on Aug 7, 2016
  1. added code to check the validation status of a block header before st…

    Bill White
    Bill White committed Aug 7, 2016
    …aking on it;
    
    resetting bestnode if it has been waiting for validation more than 15 seconds
  2. added command dumpstate to save information about the state in a file…

    Bill White
    Bill White committed Aug 7, 2016
    … to help with debugging
Commits on Aug 3, 2016
  1. fixed sending of assets as messages, since that hash and assetid are …

    Bill White
    Bill White committed Aug 3, 2016
    …now different
Commits on Aug 2, 2016
  1. modified assets db to index by hash of tx instead of assetid; updated…

    Bill White
    Bill White committed Aug 2, 2016
    … ledger root
    
    since the hlist depends on assets hashes instead of just asset ids
Commits on Jul 31, 2016
  1. added check that the hashroot of prevledger successor block headers i…

    Bill White
    Bill White committed Jul 31, 2016
    …s the newledgerroot of the previous block header
  2. reinterpreted hashes hlists/nehlists (HConsH and NehConsH) to mean th…

    Bill White
    Bill White committed Jul 31, 2016
    …e hash of an asset, not its id;
    
    this required adding a newdatabase AssetH for associating hashes of assets with their ids, and new message types for
    exchanging this association
Commits on Jul 30, 2016
  1. deleted validheaders file in favor of only having a headers file that…

    Bill White
    Bill White committed Jul 30, 2016
    … gets validated again on initialization
  2. deleted deprecated code from blocktree; added code to relay block/hea…

    Bill White
    Bill White committed Jul 30, 2016
    …der info and so on
    
    and deleted corresponding commented (deprecated) qednet code