Michael Vines
a94880574b
block_hash => blockhash
2019-03-02 12:13:30 -07:00
Michael Vines
0f1582c196
cargo fmt
2019-03-02 12:13:30 -07:00
Michael Vines
85159a0eb4
Rename JSON RPC getLastId to getRecentBlockHash
2019-03-02 12:13:30 -07:00
Michael Vines
258cf21416
Purge remaining last_id (now called block_hash)
2019-03-02 12:13:30 -07:00
Michael Vines
2bfad87a5f
Rename Bank.last_id() to Bank.last_block_hash()
2019-03-02 12:13:30 -07:00
Michael Vines
95cbb8a5c0
Switch to recent_block_hash
2019-03-02 12:13:30 -07:00
Michael Vines
ce1b72809a
Rename get_last_id() to get_recent_block_hash()
2019-03-02 12:13:30 -07:00
Michael Vines
4f3e149a98
Remove stale/wrong comments
2019-03-02 12:13:30 -07:00
Michael Vines
642d3d903f
Rename get_storage_mining_entry_height to get_storage_entry_height for consistency
2019-03-02 12:13:30 -07:00
Michael Vines
81cd461591
Rename storage_last_id to storage_block_hash
2019-03-02 12:13:30 -07:00
Michael Vines
ea110efabd
Rename AdvertiseStorageLastId to AdvertiseStorageRecentBlockHash
2019-03-02 12:13:30 -07:00
Michael Vines
0743f54dfe
Rename LastIdNotFound to BlockHashNotFound
2019-03-02 12:13:30 -07:00
Michael Vines
176d5e0d37
Rename Transaction last_id field to recent_block_hash
2019-03-02 12:13:30 -07:00
Stephen Akridge
16b71a6be0
Cleanup fork id generation
...
Accounts could end up with id collision depending on how
banks are created, this shouldn't happen.
2019-03-02 10:34:41 -08:00
Michael Vines
13ee8efd42
Move build.rs into core/
2019-03-02 09:52:18 -08:00
Michael Vines
5f5d779ee1
Move src/ into core/src. Top-level crate is now called solana-workspace
2019-03-02 09:52:18 -08:00
Greg Fitzgerald
7b849b042c
Split rewards_program.rs
2019-03-02 10:11:37 -07:00
Michael Vines
d32f5b6cca
Use process_blocktree to verify the ledger
2019-03-02 08:47:31 -08:00
Michael Vines
fcbcf000c4
Use a valid last_id
2019-03-02 08:47:31 -08:00
Michael Vines
2bc939f535
Adapt to slower moving last_ids
2019-03-02 08:47:31 -08:00
Michael Vines
d5de5bec4f
Register a new last_id once per slot
2019-03-02 08:47:31 -08:00
Michael Vines
61beb42797
Decouple tick counting from hash queue
2019-03-02 08:47:31 -08:00
Michael Vines
e5be3e1dca
HashQueue no longer hard codes max_entries
2019-03-02 08:47:31 -08:00
Greg Fitzgerald
986c54de58
Comment out test that's not actually testing anything
...
@sakridge, fyi
2019-03-02 07:50:32 -07:00
Greg Fitzgerald
49b7e67585
Return program error from process_transaction()
...
Our unit-test helper `process_transaction()` wasn't returning
program errors, which made testing programs tedious and
counter-intuitive.
2019-03-02 07:50:32 -07:00
Greg Fitzgerald
db825b6e26
Fix vote program bugs
...
Also:
* Add an assertion to the transaction builder if not enough
keypairs were provided for all keys that require signatures.
* Expose bugs in the runtime.
2019-03-02 07:50:32 -07:00
Tyera Eulberg
8e273caf7d
Brush up data-plane-fanout to read less like a proposal
2019-03-01 22:50:42 -07:00
Anatoly Yakovenko
b1a648113f
simple replay stage
2019-03-01 20:56:29 -08:00
Greg Fitzgerald
2782922f7a
Rename BroadcastService back to BroadcastStage
2019-03-01 21:10:53 -07:00
anatoly yakovenko
041a06b432
kill multinode ( #3038 )
2019-03-01 20:09:13 -08:00
dependabot[bot]
269a82f796
Bump serde_derive from 1.0.88 to 1.0.89
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.88...v1.0.89 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-01 20:15:49 -07:00
Pankaj Garg
6b83ce4937
address review comments
2019-03-01 17:58:05 -08:00
Pankaj Garg
ae557104a5
Create vote account and fund it in local cluster test harness
2019-03-01 17:58:05 -08:00
Sagar Dhawan
6a34b11dd0
Sum up all stakes for a delegate when calculating stake ( #3045 )
2019-03-01 17:31:59 -08:00
Rob Walker
54417acfba
changed vote_states to vote_accounts, more useable ( #3047 )
2019-03-01 17:22:49 -08:00
Rob Walker
29d12d9ff1
remove new_bank_from_parent_with_id() ( #3039 )
2019-03-01 16:39:23 -08:00
Stephen Akridge
4ee857ab7d
More vote account fixes
...
vote_index not being maintained correctly during a squash.
The tokens==0 shielding accounts were being inserted with
owner=default Pubkey so they didn't know they are vote accounts
and should update the vote accounts set.
2019-03-01 16:25:14 -08:00
dependabot[bot]
771a88665c
Bump serde from 1.0.88 to 1.0.89
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.88...v1.0.89 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-01 15:51:11 -07:00
Rob Walker
a7c18cc0b4
Fnbool_to_FnOptionT
2019-03-01 14:12:50 -08:00
Michael Vines
e30e4cc603
Remove get_confirmation_timestamp() from HashQueue
2019-03-01 13:38:17 -08:00
Michael Vines
fdc31e99df
Clean up type casts
2019-03-01 13:38:17 -08:00
Michael Vines
a72325dbc2
entry_id -> entry
2019-03-01 13:38:17 -08:00
Michael Vines
67b6be66c8
Rename MAX_ENTRY_IDS
2019-03-01 13:38:17 -08:00
Michael Vines
8ec13d557f
Generalize tick_height to hash_height
2019-03-01 13:38:17 -08:00
Michael Vines
31f570a9f4
Remove unused functions
2019-03-01 13:38:17 -08:00
Sagar Dhawan
46b7b795bf
Fix Typo in Fullnode Diagram ( #3036 )
2019-03-01 11:58:09 -08:00
Rob Walker
38273427ad
have banks save vote_state by epoch to support stable leader schedules ( #3019 )
...
have banks save vote_state by epoch to support stable leader schedules
2019-03-01 11:54:28 -08:00
Michael Vines
46fb0b1b94
Rename last_id to last_hash within HashQueue
2019-03-01 11:48:09 -08:00
Michael Vines
224b705f8d
Rename genesis_block.last_id() to genesis_block.hash()
2019-03-01 11:48:09 -08:00
Greg Fitzgerald
028f41eb51
Move secure vote signing out of proposals
2019-03-01 12:16:28 -07:00