solana/core/src
behzad nouri 6a3797e164
adds crds-value for broadcasting duplicate shreds through gossip (#14133)
In gossip, the header overhead we get from:
https://github.com/solana-labs/solana/blob/de9ac43eb/core/src/cluster_info.rs#L434-L435
https://github.com/solana-labs/solana/blob/de9ac43eb/core/src/crds_value.rs#L31-L36
https://github.com/solana-labs/solana/blob/de9ac43eb/core/src/crds_value.rs#L73
already exceeds SIZE_OF_NONCE in shreds. We also need aditional
meta-data (wallclock, source pubkey, ...). Which means that given the
SHRED_PAYLOAD_SIZE, we cannot fit all these in PACKET_DATA_SIZE:
https://github.com/solana-labs/solana/blob/de9ac43eb/ledger/src/shred.rs#L80

On top of that, we need 2 shred payloads as the proof of duplicate. So
each DuplicateShred crds value includes only a chunk of the payload,
along with the meta-data to reconstruct the full payload from the chunks
on the receiving end.
2020-12-18 14:32:43 +00:00
..
broadcast_stage caches staked nodes computed from vote-accounts (#13929) 2020-12-17 21:22:50 +00:00
accounts_hash_verifier.rs Fix test_max_hashes (#14189) 2020-12-17 15:12:18 -08:00
banking_stage.rs Improved Transaction Forwarding (#13944) 2020-12-17 15:37:22 -07:00
bigtable_upload_service.rs Add LARGEST_CONFIRMED_ROOT_UPLOAD_DELAY 2020-09-04 16:01:49 -07:00
broadcast_stage.rs caches staked nodes computed from vote-accounts (#13929) 2020-12-17 21:22:50 +00:00
cache_block_time_service.rs Native/builtin programs now receive an InvokeContext 2020-10-29 21:45:24 -07:00
cluster_info.rs adds crds-value for broadcasting duplicate shreds through gossip (#14133) 2020-12-18 14:32:43 +00:00
cluster_info_vote_listener.rs Clean up opt conf verifier and vote state tracker (#13081) 2020-10-24 10:19:12 +09:00
cluster_slots.rs samples repair peers using WeightedIndex (#13919) 2020-12-03 14:26:07 +00:00
cluster_slots_service.rs Clippy 2020-12-14 08:03:29 -08:00
commitment_service.rs Move slot cleanup to AccountsBackgroundService (#13911) 2020-12-13 01:22:34 +00:00
completed_data_sets_service.rs Fix signature access (#13491) 2020-11-10 08:35:03 -08:00
consensus.rs Clippy 2020-12-14 08:03:29 -08:00
contact_info.rs Remove rpc_banks from validator (#13882) 2020-12-02 03:25:09 +00:00
crds.rs adds crds-value for broadcasting duplicate shreds through gossip (#14133) 2020-12-18 14:32:43 +00:00
crds_gossip.rs Clippy 2020-12-14 08:03:29 -08:00
crds_gossip_error.rs
crds_gossip_pull.rs Clippy 2020-12-14 08:03:29 -08:00
crds_gossip_push.rs Clippy 2020-12-14 08:03:29 -08:00
crds_shards.rs makes crds fields private (#13703) 2020-11-19 20:57:40 +00:00
crds_value.rs adds crds-value for broadcasting duplicate shreds through gossip (#14133) 2020-12-18 14:32:43 +00:00
data_budget.rs implements DataBudget using atomics (#12856) 2020-10-15 11:33:58 +00:00
deprecated.rs Introduce automatic ABI maintenance mechanism (2/2; rollout) (#8012) 2020-07-06 20:22:23 +09:00
duplicate_shred.rs adds crds-value for broadcasting duplicate shreds through gossip (#14133) 2020-12-18 14:32:43 +00:00
epoch_slots.rs Clippy 2020-12-14 08:03:29 -08:00
fetch_stage.rs
fork_choice.rs
gen_keys.rs
gossip_service.rs Run `codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand` 2020-10-21 19:08:13 -07:00
heaviest_subtree_fork_choice.rs Fix log (#13207) 2020-10-27 18:56:57 -07:00
ledger_cleanup_service.rs Remove ledger purge batching (#10830) 2020-06-29 14:44:35 -07:00
lib.rs adds crds-value for broadcasting duplicate shreds through gossip (#14133) 2020-12-18 14:32:43 +00:00
non_circulating_supply.rs Run `codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand` 2020-10-21 19:08:13 -07:00
optimistic_confirmation_verifier.rs Clean up opt conf verifier and vote state tracker (#13081) 2020-10-24 10:19:12 +09:00
optimistically_confirmed_bank_tracker.rs Move slot cleanup to AccountsBackgroundService (#13911) 2020-12-13 01:22:34 +00:00
packet_hasher.rs Partial shred deserialize cleanup and shred type differentiation (#14094) 2020-12-15 16:50:40 -08:00
ping_pong.rs implements ping-pong packets between nodes (#12794) 2020-10-28 17:03:02 +00:00
poh_recorder.rs Remove some non-warnings (#14115) 2020-12-14 16:26:17 -08:00
poh_service.rs
progress_map.rs caches vote-state de-serialized from vote accounts (#13795) 2020-11-30 17:18:33 +00:00
pubkey_references.rs
repair_response.rs
repair_service.rs Clippy 2020-12-14 08:03:29 -08:00
repair_weight.rs Cleanup test utilities (#11723) 2020-08-20 05:04:38 +00:00
repair_weighted_traversal.rs Cleanup test utilities (#11723) 2020-08-20 05:04:38 +00:00
replay_stage.rs Fix race between setting tick height and calculating accounts hash (#14101) 2020-12-15 12:45:40 -08:00
result.rs checks for duplicate validator instances using gossip 2020-12-09 10:24:23 -08:00
retransmit_stage.rs caches staked nodes computed from vote-accounts (#13929) 2020-12-17 21:22:50 +00:00
rewards_recorder_service.rs Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli 2020-10-09 21:54:13 -07:00
rpc.rs Improved Transaction Forwarding (#13944) 2020-12-17 15:37:22 -07:00
rpc_health.rs
rpc_pubsub.rs Clippy 2020-12-14 08:03:29 -08:00
rpc_pubsub_service.rs Disable the PubSub vote subscription by default 2020-11-14 12:36:37 -08:00
rpc_service.rs Improved Transaction Forwarding (#13944) 2020-12-17 15:37:22 -07:00
rpc_subscriptions.rs Clippy 2020-12-14 08:03:29 -08:00
sample_performance_service.rs Add blockstore column to store performance sampling data (#12251) 2020-09-22 12:26:32 -07:00
send_transaction_service.rs Improved Transaction Forwarding (#13944) 2020-12-17 15:37:22 -07:00
serve_repair.rs Clippy 2020-12-14 08:03:29 -08:00
serve_repair_service.rs
shred_fetch_stage.rs Partial shred deserialize cleanup and shred type differentiation (#14094) 2020-12-15 16:50:40 -08:00
sigverify.rs
sigverify_shreds.rs
sigverify_stage.rs
snapshot_packager_service.rs Add CLI options and runtime support for selection of output snapshot version. (#10536) 2020-06-19 14:38:37 +09:00
test_validator.rs Don't require increased open file limit in solana-test-validator 2020-12-16 20:43:08 -08:00
tpu.rs Rpc -> proper optimistic confirmation (#12514) 2020-09-28 20:43:05 -06:00
transaction_status_service.rs SPL token balance in transaction metadata (#13673) 2020-12-10 19:25:07 -08:00
tree_diff.rs Add TreeDiff trait to reuse tree functions (#11046) 2020-07-14 07:38:48 +00:00
tvu.rs Don't require increased open file limit in solana-test-validator 2020-12-16 20:43:08 -08:00
validator.rs Improved Transaction Forwarding (#13944) 2020-12-17 15:37:22 -07:00
verified_vote_packets.rs Clippy 2020-12-14 08:03:29 -08:00
vote_stake_tracker.rs Clean up opt conf verifier and vote state tracker (#13081) 2020-10-24 10:19:12 +09:00
weighted_shuffle.rs samples repair peers using WeightedIndex (#13919) 2020-12-03 14:26:07 +00:00
window_service.rs Check shred type in is_duplicate (#14050) 2020-12-10 18:20:08 -08:00