Sagar Dhawan
0b23af324b
Refactor Storage Program ( #3622 )
...
* Refactor Storage Program
* Replace KeyedAccount trait with StorageAccount struct
* Implement State for Account, not StorageAccount
* Make State trait more generic
* Move validation check into function
2019-04-04 12:01:09 -07:00
Greg Fitzgerald
1598a02a7a
Wrap all client errors with TransportError
2019-04-04 12:00:19 -06:00
Greg Fitzgerald
167f5bdc58
Add get_balance() and get_account_data() to SyncClient
...
Migrate tests to use them.
2019-04-04 12:00:19 -06:00
Greg Fitzgerald
5cd7bccdf3
Add SyncClient and use from BankClient
2019-04-04 12:00:19 -06:00
Tyera Eulberg
acbc261891
Add gossip to build script, and fix bash strings
2019-04-04 00:18:48 -07:00
dependabot[bot]
f97f0c4758
Bump serde_derive from 1.0.89 to 1.0.90
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.89 to 1.0.90.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.89...v1.0.90 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-03 19:54:50 -07:00
dependabot[bot]
e6ac5bc546
Bump serde from 1.0.89 to 1.0.90
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.89 to 1.0.90.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.89...v1.0.90 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-03 20:26:48 -06:00
Pankaj Garg
ef1e5db0ee
Force delete all beta testnet nodes before restarting them
2019-04-03 17:58:54 -07:00
Sagar Dhawan
5cdfd79e96
Replace print with debug
2019-04-03 16:23:02 -07:00
Sagar Dhawan
b441bac7b2
Add separate Struct for Replicator submissions
2019-04-03 16:23:02 -07:00
Sagar Dhawan
00cb52c444
Update Storage Program to support multiple accounts
2019-04-03 16:23:02 -07:00
Jack May
9323a3e257
Use keyed_account index names ( #3555 )
2019-04-03 15:57:26 -07:00
Greg Fitzgerald
35298e01a8
Remove Instruction wrapper structs and name functions after enum fields
2019-04-03 13:34:27 -07:00
Greg Fitzgerald
867f6f107b
Rename SystemInstruction::Move to SystemInstruction::Transfer
2019-04-03 08:35:57 -06:00
Greg Fitzgerald
43bb813cbe
Rename 'new_account' to 'new_user_account'
...
And 'new_program_account' to 'new_account'
2019-04-02 21:24:42 -06:00
dependabot[bot]
7b82e96467
Bump libc from 0.2.50 to 0.2.51 ( #3554 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.50 to 0.2.51.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.50...0.2.51 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-02 20:32:35 -05:00
Greg Fitzgerald
978ff87b76
Fix potential storage bug
...
The previous code was assuming the instruction index and the
program_id index were the same. That's always true for
single-instruction transactions, but not for multiples.
2019-04-02 19:00:35 -06:00
Greg Fitzgerald
4c0bc1fd88
Add program_ids() methods
...
Added CompiledInstruction::program_id() so that we don't need to pass
around instruction indexes just for Message::program_id().
Also added Message.program_ids() that returns a slice so that we
can move those pubkeys into Message::account_keys.
2019-04-02 19:00:35 -06:00
Jack May
025b4f90de
Pre-populate tokens ( #3605 )
2019-04-02 16:50:53 -07:00
Greg Fitzgerald
20189c5d45
Bump hashbrown to 0.2.0
2019-04-02 16:37:21 -06:00
Pankaj Garg
2e4acba579
Remove second block streamer from testnet beta
2019-04-02 15:15:11 -07:00
Mark E. Sinclair
d90b8c331d
Refactor blocktree storage abstraction ( #3588 )
2019-04-02 16:58:07 -05:00
Pankaj Garg
efbb49d579
Don't use external node ssh key if one is not configured
2019-04-02 14:20:00 -07:00
dependabot[bot]
f0079cd7b3
Bump hashbrown from 0.1.8 to 0.2.0
...
Bumps [hashbrown](https://github.com/Amanieu/hashbrown ) from 0.1.8 to 0.2.0.
- [Release notes](https://github.com/Amanieu/hashbrown/releases )
- [Changelog](https://github.com/Amanieu/hashbrown/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/hashbrown/compare/v0.1.8...v0.2.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-02 13:45:49 -06:00
Greg Fitzgerald
a0041cec97
Rename Runtime to MessageProcessor
2019-04-02 12:49:26 -06:00
Pankaj Garg
77bb9e7ffc
Fix the release number in testnet participation document
2019-04-02 11:26:54 -07:00
Pankaj Garg
f441177840
Deploy beta testnet with 100 nodes across AWS and GCP
2019-04-02 11:21:57 -07:00
Sagar Dhawan
cd634801a2
Re-enable test but remove replicators from config
2019-04-02 10:38:30 -07:00
Sagar Dhawan
5f10a87dec
Ignore Flaky Local Cluster test
2019-04-02 10:56:29 -06:00
Greg Fitzgerald
fa1c1e3734
Rename native programs to native instruction processors
2019-04-02 10:36:19 -06:00
Greg Fitzgerald
947cdd8748
Rename system_program to system_instrution_processor
2019-04-02 10:36:19 -06:00
Greg Fitzgerald
0a9f063d3e
Rename native_program.rs to instruction_processor_utils.rs
...
Prefer the term "instruction processor" over "program". Reserve
the term "native" for the loader and shared object it loads.
Compiling an instruction processor to BPF shouldn't imply changing
to a non-native entrypoint.
2019-04-02 10:36:19 -06:00
Greg Fitzgerald
dd4c512954
Rename Wallet's id to keypair
2019-04-02 07:38:28 -06:00
carllin
d228b6467c
Implement finalizer so that all locked accounts are dropped ( #3585 )
...
* Implement finalizer so that all locked accounts are dropped when finalizer goes out of scope
* Add test for tx error with lock conflict
* Fix double unlock from destructor running after a call to unlock
2019-04-02 03:55:42 -07:00
Tyera Eulberg
92c66a411b
Remove bench-tps converge-only
2019-04-01 23:05:25 -06:00
Tyera Eulberg
af97ad3d68
Add solana-gossip module
2019-04-01 23:05:25 -06:00
Tyera Eulberg
6ff2a0a75e
Rework discover to handle additional parameters, and be unit-testable
2019-04-01 23:05:25 -06:00
dependabot[bot]
5b7d5e2e02
Bump reqwest from 0.9.12 to 0.9.13
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.9.12 to 0.9.13.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.12...v0.9.13 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-01 20:34:08 -06:00
Pankaj Garg
97bd7a00f1
Support for configuring testnet nodes across multiple cloud services
2019-04-01 17:11:41 -07:00
Rob Walker
25a2f08f8d
add passive staking and rewards ( #3579 )
...
* add stake stuff
* more generic
* test decode bail cases
* favor early returns
2019-04-01 16:45:53 -07:00
Sathish Ambley
3152090a66
update with review comments
2019-04-01 15:54:53 -06:00
Sathish Ambley
9a0f9b910e
add bench tests for squash operations
2019-04-01 15:54:53 -06:00
Sathish Ambley
f853c39169
remove unused member
2019-04-01 15:54:53 -06:00
Sathish Ambley
75ad1305c0
Cache vote accounts and optimize squash
2019-04-01 15:54:53 -06:00
Pankaj Garg
cb3adea94f
Increase node count in beta testnet
2019-04-01 11:06:24 -07:00
Greg Fitzgerald
fcef54d062
Add a constructor to generate random pubkeys
2019-03-31 16:23:18 -06:00
Greg Fitzgerald
32683cac7c
Move markdown into book
2019-03-31 16:23:06 -06:00
Greg Fitzgerald
15947b8642
Congestion stats, take 3
2019-03-31 16:23:06 -06:00
Greg Fitzgerald
4e0316f792
Apply review feedback
2019-03-31 16:23:06 -06:00
Greg Fitzgerald
9594b7fdce
Use stake-weighted congestion statistics
2019-03-31 16:23:06 -06:00