Commit Graph

5728 Commits

Author SHA1 Message Date
Michael Vines
b34e197424 Add newline at end of file 2018-12-06 17:46:46 -08:00
Michael Vines
f4b26247c0 Genesis only needs a keypair, not the entire fullnode::Config 2018-12-06 16:31:24 -08:00
Michael Vines
8f0a1e32d5 Use consistent naming for the mint id file 2018-12-06 16:31:24 -08:00
Michael Vines
c4b8f0cd2f bench-tps will now generate an ephemeral identity if not provided with one
Also simplify scripts as a result
2018-12-06 16:30:48 -08:00
carllin
aecb06cd2a Update versions in install-libssl-compatibility.sh (#2044) 2018-12-06 15:57:30 -08:00
Michael Vines
e3c4f1f586 Move client keygen into client.sh 2018-12-06 14:49:26 -08:00
Greg Fitzgerald
97b1156a7a Rename Ncp to GossipService
And BroadcastStage to BroadcastService since it's not included in the
TPU pipeline.
2018-12-06 15:48:19 -07:00
Rob Walker
02bfcd23a9 review comments (#2033) 2018-12-06 12:53:57 -08:00
Michael Vines
cc2f448d92 Add fullnode --no-leader-rotation flag 2018-12-06 11:30:19 -08:00
Michael Vines
b45d07c8cb Remove non-common functions from common.sh 2018-12-06 10:15:14 -08:00
Michael Vines
f0fe089013 Adapt testnet-deploy metric datapoint names to {,bootnode-}fullnode 2018-12-06 08:04:33 -08:00
Greg Fitzgerald
a20c1b4547 Apply review feedback
And take a stab at clarifying some other sections too.
2018-12-06 08:44:01 -07:00
Greg Fitzgerald
56ffb4385d Use gossip RFC to seed the NCP description
And format the gossip RFC for easy diffing.
2018-12-06 08:44:01 -07:00
Michael Vines
db3c5f91b6 Update configure 2018-12-05 22:51:44 -08:00
Greg Fitzgerald
17204b4696 Use 80-character lines for easy diffing 2018-12-05 22:10:55 -07:00
Greg Fitzgerald
8a83c45bc6 Use the book conventions for easy migration 2018-12-05 22:10:55 -07:00
Michael Vines
a6312ba98f Switch snap to bootstrap-fullnode/fullnode naming 2018-12-05 18:59:43 -08:00
Stephen Akridge
4170f11958 More detail for the storage RFC protocol
And section numbers which can be referenced from github issues.
2018-12-05 17:40:46 -08:00
Michael Vines
04a0652614 Generalize net/ from leader/validator to bootstrap-fullnode/fullnode 2018-12-05 17:11:16 -08:00
Greg Fitzgerald
b880dafe28 Cleanup intro 2018-12-05 15:25:11 -08:00
Greg Fitzgerald
36530fc7c6 Fix link 2018-12-05 15:41:32 -07:00
Rob Walker
4fd4218178 update terminology before tearing into RFCs (#1995)
update terminology before tearing into RFCs
2018-12-05 14:35:41 -08:00
Michael Vines
632425c7d7 Move native_loader under programs/native/ 2018-12-05 14:32:42 -08:00
dependabot[bot]
ad3e36a7ab Bump rand from 0.5.5 to 0.6.1 (#1891)
* Bump rand from 0.5.5 to 0.6.1

Bumps [rand](https://github.com/rust-random/rand) from 0.5.5 to 0.6.1.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Fix conflicts and deprecated usages

* Fix benches
2018-12-05 14:12:10 -08:00
Greg Fitzgerald
a29b307554 Reorg programming model to be more top-down
First explain how a client interacts with existing programs and why
you'd do that. Next, mention that users can contribute their own programs.
Then explain how those programs can be written in any language.
Finally, mention persistent storage, which is only needed by
stateful programs.
2018-12-05 13:36:43 -08:00
Michael Vines
1bcafca690 Find test_tx again 2018-12-05 13:29:29 -08:00
Michael Vines
5d80edd969 Properly check for failure (can't rely on set -e here) 2018-12-05 13:26:06 -08:00
Rob Walker
e21b6d9db3 ensure we'd actually have N hashes per tick (#2011) 2018-12-05 12:49:41 -08:00
carllin
9c30bddb88 Rocks db erasure decoding (#1900)
* Change erasure to consume new RocksDb window

* Change tests for erasure

* Remove erasure from window

* Integrate erasure decoding back into window

* Remove corrupted blobs from ledger

* Replace Erasure result with result module's Result
2018-12-05 12:47:19 -08:00
Michael Vines
7336645501 Move programs into the executable location so native_loader can find them 2018-12-05 10:49:06 -08:00
Michael Vines
59e6bd115e system_program must be a static lib as it allocates Account memory 2018-12-05 10:49:06 -08:00
Michael Vines
8597701b0f Expand matching to include optional _program suffix 2018-12-05 10:49:06 -08:00
Michael Vines
15aef079e3 Include builtin programs for ledger verification 2018-12-05 10:49:06 -08:00
Michael Vines
42689d4842 cargo fmt 2018-12-05 10:49:06 -08:00
Michael Vines
6e9b8e21ae Drop new-style Result return to avoid error-type wrangling
Plus a backtrace at the point of failure is always nice
2018-12-05 10:49:06 -08:00
Michael Vines
424612ea9d Reduce |ulimit -n| on macOS to max supported amount 2018-12-05 10:49:06 -08:00
Michael Vines
5afafd9146 Update list of crates to publish 2018-12-05 10:49:06 -08:00
Michael Vines
affa76f81d Initialize logger 2018-12-05 10:49:06 -08:00
Michael Vines
340d5d557a Add vote program to workspace 2018-12-05 10:49:06 -08:00
Michael Vines
214ed3667c Move system_transaction out of src/ 2018-12-05 10:49:06 -08:00
Michael Vines
122627dda2 Move loader_transaction out of src/ 2018-12-05 10:49:06 -08:00
Michael Vines
7af95eadcc Move vote_transaction out of src/ 2018-12-05 10:49:06 -08:00
Michael Vines
9ee858a00c Move budget_program out of src/ 2018-12-05 10:49:06 -08:00
Michael Vines
27d456bf93 Move storage_program out of src/ 2018-12-05 10:49:06 -08:00
Michael Vines
ea6e042a6f Move vote_program out of src/ 2018-12-05 10:49:06 -08:00
Michael Vines
a594f56c02 Add token_program.rs to sdk/ 2018-12-05 10:49:06 -08:00
Michael Vines
e6fa74fe69 Remove custom Error enum, just use ProgramError 2018-12-05 10:49:06 -08:00
Michael Vines
f184d69c7a Add account userdata errors 2018-12-05 10:49:06 -08:00
Michael Vines
228a5aa75d Remove stray comment 2018-12-05 10:49:06 -08:00
Michael Vines
9a4f8199d6 Move system_program out of src/ 2018-12-05 10:49:06 -08:00