Commit Graph

11704 Commits

Author SHA1 Message Date
Rob Walker
215b07c1a9 remove status_cache.freeze (#3506) 2019-03-26 11:56:25 -07:00
anatoly yakovenko
420cbc45cd Record the current nodes locktower votes from the bank (#3502)
* observed_locktower_stats

* fixup! observed_locktower_stats
2019-03-26 11:06:31 -07:00
Greg Fitzgerald
df333e8b6e Move new_move_many to SystemInstruction 2019-03-26 09:22:29 -07:00
Greg Fitzgerald
9759ac2961 Mark book's javascript library as binary
highlight.js has a big dictionary of words. When git-grep includes
one of those words, it floods the screen with the whole dictionary.

Mark it as binary so that it'll now just report one line:

     Binary file book/theme/highlight.js matches
2019-03-26 07:39:34 -07:00
Anatoly Yakovenko
af9b173dfd fix link 2019-03-26 05:43:02 -07:00
Greg Fitzgerald
b61aed7250 Minor cleanup 2019-03-25 20:31:13 -07:00
Pankaj Garg
e1c0425c2b Remove rewards crate from publishing script 2019-03-25 20:19:58 -07:00
carllin
615472b52c Initailize locktower with heaviest bank (#3489) 2019-03-25 20:00:11 -07:00
Greg Fitzgerald
4d34102d9c Move stragglers into the book
The stuff added between the time we switched to proposals/ and the git-revert
2019-03-25 19:39:22 -07:00
Pankaj Garg
3e22ce4154 Added stats for locktower in testnet dashboard 2019-03-25 18:49:15 -07:00
Pankaj Garg
215f33680b Fix the filename in testnet pariticpation instructions 2019-03-25 17:33:41 -07:00
Rob Walker
a5420f19da Update testnet-participation.md
add instructions for finding metrics
2019-03-25 17:12:00 -07:00
Greg Fitzgerald
4bc3f70150 Boot VoteTransaction 2019-03-25 17:11:57 -07:00
Pankaj Garg
e8814b1297 Add support for influx cloud 2019-03-25 17:10:38 -07:00
Rob Walker
46ab0e6449 Update testnet-participation.md
multinode-demo/validator-x.sh uses cargo run unless USE_INSTALL==1
2019-03-25 16:30:56 -07:00
Anatoly Yakovenko
59b4f40f4e fixup! fixup! keep track of locktower slots and stakes 2019-03-25 16:05:28 -07:00
Anatoly Yakovenko
93c57934cb fixup! keep track of locktower slots and stakes 2019-03-25 16:05:28 -07:00
Anatoly Yakovenko
e8e1d6b8ce keep track of locktower slots and stakes 2019-03-25 16:05:28 -07:00
Stephen Akridge
4916cd8da5 bench-tps in a cargo test 2019-03-25 15:05:56 -07:00
Greg Fitzgerald
573dec63da Fix runtime benches 2019-03-25 14:32:01 -06:00
Rob Walker
34c051f183 add hash_fromstr (#3476) 2019-03-25 12:23:19 -07:00
anatoly yakovenko
51004881f8 filter out banks that have an older epoch (#3472) 2019-03-25 11:09:39 -07:00
Greg Fitzgerald
5c536e423c Inline InstructionCompiler
The object-oriented paradigm isn't helpful here; go functional.
2019-03-25 12:08:27 -06:00
Greg Fitzgerald
4efa144916 Generate a Message instead of a Transaction 2019-03-25 12:08:27 -06:00
Greg Fitzgerald
f3936c21a3 Add message 2019-03-25 12:08:27 -06:00
Greg Fitzgerald
caff603497 Less code 2019-03-24 21:44:04 -07:00
Greg Fitzgerald
aefa9891c0 Delete unused code 2019-03-24 21:44:04 -07:00
Greg Fitzgerald
6286947697 Inline payment_plan
This module predates Accounts. That was a separate module because
it used to be part of Bank and those types could be sent to any
smart contract. Now each instruction processor defines for itself
what instructions it accepts.
2019-03-24 14:52:06 -06:00
Greg Fitzgerald
33972ef89e Boot BudgetTransaction 2019-03-24 14:52:06 -06:00
Greg Fitzgerald
b53cbdd9e6 Punt on the Script abstraction
Low ROI
2019-03-24 14:52:06 -06:00
Greg Fitzgerald
c49e84c75b Boot StorageTransaction 2019-03-24 13:51:02 -07:00
Greg Fitzgerald
dcf2337e58 Add StorageInstruction constructors 2019-03-24 13:51:02 -07:00
Greg Fitzgerald
5a65c3f72e Test-drive StorageContract 2019-03-24 13:51:02 -07:00
Greg Fitzgerald
8ff1987d2d Reorg Storage program to look more like the others 2019-03-24 13:51:02 -07:00
Greg Fitzgerald
acedf4ca5a Move Instruction into its own module 2019-03-23 20:31:55 -07:00
carllin
68c35bfde6 Restart node test (#3459) (#3465)
* Restart node test (#3459)

* Add test to local_cluster for restarting a node

* fix so that we don't hit end of epoch - leader not found before trying to transfer

* Do not look for confirmations, b/c nobody is voting on empty transmissions in this single node test
2019-03-23 19:19:55 -07:00
Sathish
e1a3708844 Ensure accounts are unlocked (#3458) 2019-03-23 13:30:56 -07:00
Pankaj Garg
46ecac3310 Update leader slot in poh recorder if we skipped it (#3452)
* reset poh recorder with the original start slot
2019-03-23 13:07:09 -07:00
Greg Fitzgerald
028b9da0da Revert "Move the design proposals to a separate book"
This reverts commit 4ca18d6b9a.
2019-03-23 14:04:34 -06:00
Greg Fitzgerald
74cea2748c Revert "Publish design proposals"
This reverts commit fb44e2bf48.
2019-03-23 14:04:34 -06:00
dependabot[bot]
a478b2a05a Bump assert_cmd from 0.11.0 to 0.11.1
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.11.0...v0.11.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-23 13:18:51 -06:00
Michael Vines
41a52dbfea Document solana-install-init.sh 2019-03-23 09:01:08 -07:00
Michael Vines
4923f889c4 Add trick to ensure the entire script is downloaded 2019-03-23 09:01:08 -07:00
Rob Walker
31b8743052 delay freeze of status_cache until squash (#3453) 2019-03-22 22:14:56 -07:00
Jack May
6505221629 Add exchange program (#3444) 2019-03-22 21:07:36 -07:00
dependabot[bot]
de2b6bc9fc Bump tokio from 0.1.17 to 0.1.18
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.1.17 to 0.1.18.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.1.17...tokio-0.1.18)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-22 19:54:18 -06:00
Michael Vines
f565292852 Update testnet-participation.md 2019-03-22 17:58:58 -07:00
Michael Vines
90f17e8fd4 Update testnet-participation.md 2019-03-22 17:18:27 -07:00
Michael Vines
d6da7dc1b6 Initial testnet participation doc 2019-03-22 17:11:47 -07:00
Michael Vines
7e2aad2590 Refrain from trying to configure a staking account that was previously configured 2019-03-22 17:00:09 -07:00