Proto commits in ChainSQL/chainsqld

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:14befe6
Author:xiuxiufxx

Add a new nodeevent : neVALID_LEDGER

The documentation is generated from this commit.

Commit:8d0e8fa
Author:luleigreat

Fix bug:RR-3550 SyncTable by peer cannot success

Commit:445c22e
Author:luleigreat

Contract storage sync logic when acquiring ledgers

Commit:d0f9aa4
Author:wangchao

add interface tx_merkel_proof and tx_merkel_verify

Commit:ba0a160
Author:wangchao

recover SHAMapTreeNode hash alg and compatible for old version ledger data loading

Commit:c67b019
Author:luleigreat

add option batch_broadcast for broadcast transaction when timer triggered

Commit:1d51f45
Author:wangchao

add sync schema message for when child schema add/del peers

Commit:536baf6
Author:wangchao

merge featrue/consensusPluggable

Commit:69ea2ab
Author:wangchao
Committer:wangchao

fix RR-2616

Commit:4efbb82
Author:luleigreat

compile success on visualstudio2017

Commit:0c08376
Author:henrylu

rename xrp_ledger.proto to zxc_ledger.proto

Commit:3c29a86
Author:luleigreat

fix compile error for overlay,tablesync

Commit:433ee39
Author:henrylu

more xrp to zxc replacement

Commit:7e77fcb
Author:henrylu

replace XRP to ZXC

Commit:3651e63
Author:henrylu

Merge branch 'release' into feature/schema

Commit:926013c
Author:wangchao

Hotstuff consensus application layer

Commit:8211ad5
Author:luleigreat

re-construst p2p module for schema: 1. split PeerManager from Overlay; 2.share PeerImp object from schemas

Commit:2d68dcb
Author:wangchao
Committer:wangchao

consensus message framework

Commit:19d621d
Author:wangchao

CMakeLists.txt add nonunity source file

Commit:0c96c9b
Author:luleigreat

merge from rippled 1.5.0

Commit:dd3faf4
Author:wangchao
Committer:wangchao

code optimization

Commit:f902485
Author:wangchao

Support validatorListSite

Commit:12c0e81
Author:Peng Wang
Committer:Nik Bougalis

Improve naming of fields associated with the NegativeUNL

Commit:c7512d4
Author:wangchao

update consensus: committee as shard 0 to process sepcial contract transactions

Commit:706ca87
Author:Peng Wang
Committer:manojsdoshi

Implement negative UNL functionality: This change can help improve the liveness of the network during periods of network instability, by allowing the network to track which validators are presently not online and to disregard them for the purposes of quorum calculations.

Commit:e09c569
Author:wangchao

fix committe node acquire micro ledger logic

Commit:d69a902
Author:CJ Cobb
Committer:Nik Bougalis

Add comments to protobuf files

Commit:eb50989
Author:wangchao

micro ledger add view change sequence

Commit:c360018
Author:wangchao

adjust lookup save ledger

Commit:6c762ed
Author:wangchao

add CommitteeViewChange message

Commit:6220f94
Author:wangchao

update consensus of shard

Commit:000a2d5
Author:wangchao

add signature for TMTransactions

Commit:567e42e
Author:Nik Bougalis
Committer:Nik Bougalis

Deprecate 'Time to Live' fields

Commit:81a5d2f
Author:ruancheng

optimize lookup txs relay

Commit:045729e
Author:wangchao

add dropDestoryed in microledger

Commit:ba4380a
Author:wangchao
Committer:wangchao

consensus for committee based on PoP! (compile not pass)

Commit:ef431d9
Author:wangchao

consensus for committee based on PoP (compile not passgit add .git add .)

Commit:90a2382
Author:wangchao

build success on msvc

Commit:748b3ed
Author:luleigreat

remove MicroLedgerWithMeta and adjust code-structure

Commit:dec7bf1
Author:luleigreat

submit modification for save finalLedger

Commit:bafd0f4
Author:wangchao

consensus for shard based on PoP

Commit:4ffd5bc
Author:ruancheng

1 add shardRole and shardIndex to TMHello 2 nodes are connected through shard configuration files

Commit:8a2a4c7
Author:wangchao

fix compile error with gcc

Commit:1550dee
Author:wangchao

chainsql shard frame structure

Commit:e7ce390
Author:CJ Cobb
Committer:Mike Ellery

gRPC support for account_tx and tx - Add support for all transaction types and ledger object types to gRPC implementation of tx and account_tx. - Create common handlers for tx and account_tx. - Remove mutex and abort() from gRPC server. JobQueue is stopped before gRPC server, with all coroutines executed to completion, so no need for synchronization.

Commit:2c71802
Author:Edward Hennis
Committer:Manoj doshi

Propagate validator lists (VLs or UNLs) over the peer network: * Whenever a node downloads a new VL, send it to all peers that haven't already sent or received it. It also saves it to the database_dir as a Json text file named "cache." plus the public key of the list signer. Any files that exist for public keys provided in [validator_list_keys] will be loaded and processed if any download from [validator_list_sites] fails or no [validator_list_sites] are configured. * Whenever a node receives a broadcast VL message, it treats it as if it had downloaded it on it's own, broadcasting to other peers as described above. * Because nodes normally download the VL once every 5 minutes, a single node downloading a VL with an updated sequence number could potentially propagate across a large part of a well-connected network before any other nodes attempt to download, decreasing the amount of time that different parts of the network are using different VLs. * Send all of our current valid VLs to new peers on connection. This is probably the "noisiest" part of this change, but will give poorly connected or poorly networked nodes the best chance of syncing quickly. Nodes which have no http(s) access configured or available can get a VL with no extra effort. * Requests on the peer port to the /vl/<pubkey> endpoint will return that VL in the same JSON format as is used to download now, IF the node trusts and has a valid instance of that VL. * Upgrade protocol version to 2.1. VLs will only be sent to 2.1 and higher nodes. * Resolves #2953

Commit:7d867b8
Author:CJ Cobb
Committer:CJ Cobb

Add gRPC support (#3127): * add support for AccountInfo, Fee and Submit RPCs * add partial support for Tx RPC (only supports Payments)

Commit:f6916bf
Author:Nik Bougalis
Committer:Nik Bougalis

Improve protocol-level handshaking protocol: This commit restructures the HTTP based protocol negotiation that `rippled` executes and introduces support for negotiation of compression for peer links which, if implemented, should result in significant bandwidth savings for some server roles. This commit also introduces the new `[network_id]` configuration option that administrators can use to specify which network the server is part of and intends to join. This makes it possible for servers from different networks to drop the link early. The changeset also improves the log messages generated when negotiation of a peer link upgrade fails. In the past, no useful information would be logged, making it more difficult for admins to troubleshoot errors. This commit also fixes RIPD-237 and RIPD-451

Commit:a8bee41
Author:luleigreat

merge from ripple-1.3.1

Commit:c0faf5b
Author:luleigreat

add view_change basic function

Commit:77b0a8d
Author:luleigreat

add curledgerseq for TMProposeSet and change proposal cache logic

Commit:2e26377
Author:Miguel Portilla
Committer:Nik Bougalis

Use public key when routing shard crawl requests

Commit:265f5f1
Author:Mike Ellery
Committer:Nik Bougalis

Delete old protobuf subtree

Commit:3661dc8
Author:Miguel Portilla
Committer:seelabs

Add RPC command shard crawl (RIPD-1663)

Commit:08382d8
Author:Mike Ellery
Committer:Mike Ellery

Support ipv6 for peer and RPC comms: Fixes: RIPD-1574 Alias beast address classes to the asio equivalents. Adjust users of address classes accordingly. Fix resolver class so that it can support ipv6 addresses. Make unit tests use ipv6 localhost network. Extend endpoint peer message to support string endpoint representations while also supporting the existing fields (both are optional/repeated types). Expand test for Livecache and Endpoint. Workaround some false positive ipaddr tests on windows (asio bug?) Replaced usage of address::from_string(deprecated) with free function make_address. Identified a remaining use of v4 address type and replaced with the more appropriate IPEndpoint type (rpc_ip cmdline option). Add CLI flag for using ipv4 with unit tests. Release Notes ------------- The optional rpc_port command line flag is deprecated. The rpc_ip parameter now works as documented and accepts ip and port combined.

Commit:718d217
Author:Miguel Portilla
Committer:Scott Schurr

Implement Shards

Commit:3d22139
Author:luxmus

add protobuf files back

Commit:9c14236
Author:luxmus

updated the latest files to the new repository

Commit:d8dea96
Author:Vinnie Falco

Squashed 'src/beast/' changes from 1b9a714..6d5547a 6d5547a Set version to 1.0.0-b34 6fab138 Fix and tidy up CMake build scripts: ccefa54 Set version to 1.0.0-b33 32afe41 Set internal state correctly when writing frames: fe3e20b Add write_frames unit test 578dcd0 Add decorator unit test aaa3733 Use fwrite return value in file_body df66165 Require Visual Studio 2015 Update 3 or later b8e5a21 Set version to 1.0.0-b32 ffb1758 Update CMake scripts for finding packages: b893749 Remove http Writer suspend and resume feature (API Change): 27864fb Add io_service completion invariants tests eba05a7 Set version to 1.0.0-b31 484bcef Fix badge markdown in README.md 5663bea Add missing dynabuf_readstream member 0d7a551 Tidy up build settings 0fd4030 Move the handler, don't copy it git-subtree-dir: src/beast git-subtree-split: 6d5547a32c50ec95832c4779311502555ab0ee1f

This commit does not contain any .proto files.

Commit:af79c90
Author:MarkusTeufelberger
Committer:seelabs

Specify syntax version for ripple.proto file: This change eliminates a warning about unspecified syntax version when using a newer proto3 compiler.

Commit:cdf470e
Author:wilsonianb
Committer:Nik Bougalis

Forward manifests from new peer (RIPD-1325): Previously, manifests sent to new peers were marked as history so that they would not be forwarded. However, this prevented a starting up node's new manifest from being forwarded beyond its directly connected peers. Stale or invalid manifests are still not forwarded.

Commit:0c05bd3
Author:JoelKatz
Committer:Nik Bougalis

Improve transport security: * Add fields for local and remote IP addresses in hello. * Add configuration for known local public IP address * Set fields appropriately * Check the fields * Disallow self connection by key

Commit:36a62f1
Author:JoelKatz
Committer:Edward Hennis

Switch some Ledger instances to ReadView instances * Remove ltCURRENT * Change getOwnerInfo * Use ReadView in TransactionSign * Change AcceptedLedger and ProposedTransaction to use ReadView * Change RPC::accounts

Commit:dd90229
Author:Nik Bougalis
Committer:Tom Ritchford

Consensus cleanup: * Inject dependencies, make functions free and levelize * Add comments to document the intent behind the code * Reduce class public interfaces * Remove support for proposals without ledger hashes

Commit:1b4e0f5
Author:seelabs
Committer:seelabs

Tidying & Selectively forward manifests to peers: * Do not forward manifests to peers that already know that manifest * Do not forward historical manifests to peers * Save/Load ValidatorManifests from a database * Python test for setting ephmeral keys * Cleanup manifest interface

Commit:0dd6b95
Author:Josh Juran
Committer:seelabs

Add Validator Manifests (RIPD-772): A Validator Manifest allows validators to use a generated ed25519 secret key as a master key for generating new validator public/secret key pairs. Using this mechanism, rippled instances trust the master ed25519 public key instead of the now-ephemeral validator public key. Through a new message and propagation scheme, this lets a validator change its ephemeral public key without requiring that all rippled instances on the network restart after maintaining the configuration file.

Commit:b1881e7
Author:JoelKatz
Committer:Vinnie Falco

Control query depth based on latency: This changes TMGetLedger protocol in a backward-compatible way to include a "query depth" parameter - the number of extra levels in the SHAMap tree that a server should return in the corresponding TMLedgerData. Depending on the value or absence of the field, a server may adjust the amount of returned data based on the observed latency of the requestor: higher latencies will return larger data sets (to compensate for greater request/response turnaround times).

Commit:90bb53a
Author:Vinnie Falco
Committer:Tom Ritchford

Structured Overlay support for TTL limited messages: When the [overlay] configuration key "expire" is set to 1, proposals and validations will include a hops field. The hops is incremented with each relay. Messages with a hop count will be dropped when they exceed the TTL (Time to Live). Messages containing a hops field will not be relayed or broadcast to older versions of rippled that don't understand the field. This change will not affect normal operation of the network or rippled instances that do not set "expire" to 1.

Commit:08a81a0
Author:Vinnie Falco
Committer:Nik Bougalis

Tidy up the structure of sources in protocol/: Split out and rename STValidation Split out and rename STBlob Split out and rename STAccount Split out STPathSet Split STVector256 and move UintTypes to protocol/ Rename to STBase Rename to STLedgerEntry Rename to SOTemplate Rename to STTx Remove obsolete AgedHistory Remove types.h and add missing includes Remove unnecessary includes in app.h Remove unnecessary includes in app.h Remove include app.h from app1.cpp

Commit:65125ea
Author:JoelKatz
Committer:Vinnie Falco

Add "deferred" flag to transaction relay message If we receive a deferred transaction from a server in our cluster, treat it as if it wasn't received from a server in our cluster. This currently has no effect but is needed for server to interoperate with future code that will relay deferred transactions.

Commit:5f59282
Author:Vinnie Falco
Committer:Vinnie Falco

Clean up Overlay and PeerFinder sources: * Tidy up identifiers and declarations * Merge PeerFinder headers into one file * Merge handout classes and functions into one file

Commit:d606618
Author:Vinnie Falco
Committer:Vinnie Falco

Refactor Overlay for Structured Network support: * Move overlay up one directory * Add abstract_protocol_handler, message_stream * Add peer_protocol_detector * Tidy up some declarations * Use strand::running_in_this_thread instead of bool * Update README.md * Replace protocol message read loop: - Process data in arbitrary size chunks - message_stream extracts individual messages - peer_protocol_detector identifies the handshake - abstract_protocol_handler used for dispatching messages * Remove unused protocol message types: - mtACCOUNT - mtCONTACT - mtERROR - mtGET_ACCOUNT - mtGET_CONTACTS - mtGET_VALIDATIONS - mtSEARCH_TRANSACTION - mtUNUSED_FIELD Conflicts: src/ripple/module/app/main/Application.cpp src/ripple/module/app/misc/NetworkOPs.cpp src/ripple/module/app/peers/PeerSet.cpp

Commit:a10c481
Author:Vinnie Falco
Committer:Vinnie Falco

Move .proto and generated sources

Commit:6235435
Author:Vinnie Falco
Committer:Vinnie Falco

Refactor ripple_overlay: * Use rvalue move to receive accepted sockets * Split asio dependent APIs to their own class and file * Update documentation * Organize code into different files * Make some members private * Rename things for clarity

Commit:572aae3
Author:Nik Bougalis
Committer:Vinnie Falco

Performance fixes: decongest master lock

Commit:e60b289
Author:Nik Bougalis
Committer:Vinnie Falco

PeerFinder work and refactoring: * Implement PeerFinder business logic. * Support fixed peers (including DNS support). * Add journal support to Peer and Peers. * Refactor PeerDoor support. * Tidy up Peers and eliminate connection functionality and timers. * Refactor Peer interface and add journal support. * Allow construction of incoming Peer using an existing socket. * Remove TESTNET support. * Allow connections from/to cluster peers without consuming slots * Misc. cleanups.

Commit:58f07a5
Author:David Schwartz
Committer:Vinnie Falco

New ResourceManager for managing server load. * Track abusive endpoints * Gossip across cluster. * Use resource manager's gossip support to share load reporting across a cluster * Swtich from legacy fees to new Resource::Charge fees. * Connect RPC to the new resource manager. * Set load levels where needed in RPC/websocket commands. * Disconnect abusive peer endpoints. * Don't start conversations with abusive peer endpoints. * Move Resource::Consumer to InfoSub and remove LoadSource * Remove port from inbound Consumer keys * Add details in getJson * Fix doAccountCurrencies for the new resource manager.

Commit:5dda088
Author:Vinnie Falco
Committer:Vinnie Falco

Peerfinder work

Commit:4fe63f9
Author:Vinnie Falco
Committer:Vinnie Falco

PeerFinder work

Commit:41879d8
Author:Vinnie Falco
Committer:Vinnie Falco

Remove obsolete mtANNOUNCE message support

Commit:9e6e7b5
Author:Vinnie Falco

Add comments to the .proto file

Commit:27f0cae
Author:Vinnie Falco
Committer:Vinnie Falco

Add PeerFinder peer discovery logic and unit test

Commit:45eccf2
Author:Vinnie Falco
Committer:Vinnie Falco

Move ./modules to ./src

Commit:1b67612
Author:Vinnie Falco

Merge commit '112234c8a911de4243eaab3eb6a37ce6df014880' as 'src/protobuf'

Commit:112234c
Author:Vinnie Falco

Squashed 'src/protobuf/' content from commit d6e20ba git-subtree-dir: src/protobuf git-subtree-split: d6e20baabb84501c720b6e42170684264bd2cdd2

Commit:ae1daaf
Author:Vinnie Falco

Remove old protobuf subtree in preparation for git subtree add

Commit:00caefc
Author:Vinnie Falco

Move ripple.pb.cc to VS2012 project so it rebuilds as needed

Commit:4ef0f5d
Author:Vinnie Falco
Committer:Vinnie Falco

Refactor ProofOfWork

Commit:58ee1b2
Author:Vinnie Falco
Committer:Vinnie Falco

Move all remaining files into modules

Commit:ecc864a
Author:JoelKatz
Committer:JoelKatz

Send cluster reports

Commit:ea7730a
Author:JoelKatz
Committer:JoelKatz

More cluster status work.

Commit:f590162
Author:JoelKatz
Committer:JoelKatz

Create a new ClusterNodeStatus class and hook it up.

Commit:cc8af22
Author:JoelKatz
Committer:JoelKatz

Track cluster load and local load separately.

Commit:4090fbf
Author:Vinnie Falco

Squashed 'Subtrees/leveldb/' changes from ab82e57..ae6c262 ae6c262 Merge branch 'leveldb' into ripple-fork 28fa222 Looks like a bit more delay is needed to smooth the latency. a18f3e6 Tidy up JobQueue, add ripple_core module 18b245c Added GNU/kFreeBSD kernel name (TARGET_OS) git-subtree-dir: Subtrees/leveldb git-subtree-split: ae6c2620b2ef3d5c69e63dc0eda865d6a39fa061

This commit does not contain any .proto files.

Commit:8a6d53a
Author:Vinnie Falco
Committer:Vinnie Falco

Tidy up database class files

Commit:7474c17
Author:Vinnie Falco

Rename ripple namespace used for protobuf to 'protocol'

Commit:7eff38c
Author:Vinnie Falco
Committer:Vinnie Falco

Rename LedgerAcquire to InboundLedger

Commit:521e812
Author:Vinnie Falco

Reformatting using AStyle

Commit:1f3314f
Author:JoelKatz
Committer:JoelKatz

Allow servers to explcitly vouch for correct signatures on transactions, proposals, and validations. This will allow cluster members to more safely distribute crypto work.

Commit:9c55b3b
Author:JoelKatz

Allow servers to explcitly vouch for correct signatures on transactions, proposals, and validations. This will allow cluster members to more safely distribute crypto work.