Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sideband information to database. #1554

Merged
merged 7 commits into from Jan 27, 2019
Merged

Commits on Jan 9, 2019

  1. Add sideband information to database.

    This commit adds block-type-specific sideband information which eliminates expensive value computations.
    This information is stored in-line with the block itself, instead of in a separate table, for efficient retrieval.
    Since this involves rewriting all block entries the process is run iteratively in the background.
    Once the upgrade is complete the blocks_info table is dropped from the database.
    clemahieu committed Jan 9, 2019
    Copy the full SHA
    5c7f8cc View commit details
    Browse the repository at this point in the history
  2. Sideband RPC & open blocks adjustment (#1555)

    * Disable sideband account & height for open blocks
    
    * Add sideband information to RPC block_info
    
    * Replacing RPC block with PRC block_info
    
    * Add local timestamp to RPC account_history
    
    * Fix
    
    * Rolling back changes from different PR
    
    * Correct account & balance with sideband
    
    * Update rpc.blocks_info test
    SergiySW authored and clemahieu committed Jan 9, 2019
    Copy the full SHA
    31b37bf View commit details
    Browse the repository at this point in the history
  3. Improving log message for sideband upgrade process.

    Initializing timestamp to sentinal value during the upgrade process.
    clemahieu committed Jan 9, 2019
    Copy the full SHA
    99eca06 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2019

  1. Copy the full SHA
    536b90c View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2019

  1. Copy the full SHA
    116d8f6 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into block_sideband_squash

    # Conflicts:
    #	nano/lib/interface.h
    #	nano/node/lmdb.cpp
    #	nano/secure/ledger.cpp
    clemahieu committed Jan 27, 2019
    Copy the full SHA
    df39356 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into block_sideband_squash

    # Conflicts:
    #	nano/node/rpc.cpp
    clemahieu committed Jan 27, 2019
    Copy the full SHA
    655b669 View commit details
    Browse the repository at this point in the history