Ethan Buchman
e5220360c5
AddPart always verifies
7 years ago
Ethan Buchman
9b20287463
add tags to begin/end block
7 years ago
Ethan Buchman
f7d775337b
absent_validators: repeated int -> repeated bytes
7 years ago
Ethan Buchman
162811476a
update some comments
7 years ago
Zarko Milosevic
2c125b6c78
Fix validValue rule
7 years ago
Ethan Buchman
e9804d76cf
fixes from review
7 years ago
Adrian Brink
f80b3aee48
Change AppStateBytes to GenesisBytes
The consensus should pass the entire genesis file to the application.
That way the application has access to the chain_id, the timestap, ...
7 years ago
Ethan Buchman
658060150c
rpc: add voting power totals to vote bitarrays
7 years ago
Adrian Brink
ef67705524
Allow ResponseInitChain to return the initial validator set
ResponseInitChain should be able to return an initial validator set that
is determined by some logic within the genesis.json file.
7 years ago
Ethan Buchman
c45ba2967a
fixes from review
7 years ago
Ethan Buchman
a2d77cbe4e
add MarshalJSON methods to fix dump_consensus_state
7 years ago
Ethan Buchman
94c016a04e
use MarshalJSONIndent for init files. closes #1506
7 years ago
Jae Kwon
b42d5a2211
blockID -> block_id for JSON
7 years ago
Thomas Corbière
6a48bd0c88
use the tag interface for pubsub. ( #1438 )
* use the tag interface for pubsub.
* update tmlibs.
* Fix unresolved conflict.
7 years ago
Ethan Buchman
1a1e4e767b
check max msg size in DecodeMessage
7 years ago
Ethan Buchman
bb1b249e8a
types: lock block on MakePartSet
7 years ago
Ethan Buchman
c68d406195
fix tests
7 years ago
Ethan Buchman
02c0835e9b
fixes post merge
7 years ago
Jae Kwon
02531ca5a3
Fix race testing (cont;) Bump version to 0.19.0
7 years ago
Jae Kwon
d24e4cb821
Fix race testing
7 years ago
Jae Kwon
32e1d195a0
Fix cmd and lite
7 years ago
Jae Kwon
3ca5292dc9
Fix rpc tests
7 years ago
Jae Kwon
e4492afbad
Merge
7 years ago
Jae Kwon
45ec5fd170
WIP consensus
7 years ago
Jae Kwon
5d1c758730
Fix evidence
7 years ago
Jae Kwon
1b9323f105
Fix blockchain tests
7 years ago
Anton Kaliaev
ed782e7508
include validator's voting power in /status
Refs #581
7 years ago
Anton Kaliaev
0732526465
use more relaxing < and >= ops instead of !=
an example of Search from godocs:
```
package main
import (
"fmt"
"sort"
)
func main() {
a := []int{1, 3, 6, 10, 15, 21, 28, 36, 45, 55}
x := 6
i := sort.Search(len(a), func(i int) bool { return a[i] >= x })
if i < len(a) && a[i] == x {
fmt.Printf("found %d at index %d in %v\n", x, i, a)
} else {
fmt.Printf("%d not found in %v\n", x, a)
}
}
```
7 years ago
Anton Kaliaev
39a4963782
document funcs in validator_set.go
7 years ago
Anton Kaliaev
37ce6b195a
ValidatorSet#GetByAddress: return -1 if no validator was found
7 years ago
Ethan Buchman
39ff4d22e9
minor cleanup
7 years ago
Jae Kwon
196f8410ba
WIP commit; Fix types/results_test
7 years ago
Anton Kaliaev
8462493cbf
[rpc] fix subscribing using an abci.ResponseDeliverTx tag
Refs #1369
7 years ago
Anton Kaliaev
47b8bd1728
wrote a test for EventBus#PublishEventTx
Refs #1369
7 years ago
Jae Kwon
89cdde7f1e
Fix state tests
7 years ago
Thomas Corbière
2644a529f0
Fix lint errors ( #1390 )
* use increment and decrement operators.
* remove unnecessary else branches.
* fix package comment with leading space.
* fix receiver names.
* fix error strings.
* remove omittable code.
* remove redundant return statement.
* Revert changes (code is generated.)
* use cfg as receiver name for all config-related types.
* use lsi as the receiver name for the LastSignedInfo type.
7 years ago
Jae Kwon
34974e3932
Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV
7 years ago
Alex Hernandez
575a46d9d4
fix typo on block header ( #1387 )
7 years ago
Eugene Chung
34f5d439ee
remove Heap.Update() call when setting Proposer field
In for loop of IncrementAccum(), Heap.Update() call is unnecessary when i == times - 1.
7 years ago
Ethan Buchman
9bf5862def
types: fix genesis.AppStateJSON
7 years ago
Anton Kaliaev
4e86835163
update changelog for 0.17.0 release
7 years ago
Anton Kaliaev
1c82281b77
make app_options -> app_state backwards compatible
7 years ago
Ethan Buchman
8fc21cdcd9
remove omitempty
7 years ago
Ethan Buchman
5310e85bbb
run make protoc
7 years ago
Ethan Buchman
4600f19d9f
add nullable=false and omitempty to fee
7 years ago
Ethan Buchman
e0c174b02b
remove nullable=false from fee
7 years ago
Ethan Buchman
5306147a2d
types: revert CheckTx/DeliverTx changes. make them the same
7 years ago
Eugene Chung
a61130aebb
Remove unnecessary bytes.Compare() call
7 years ago
Constantine
152290db7e
Add `\health` rpc endpoint ( #1306 )
* Init `\health` rpc endpoint
* remove additional info from `\health` rpc endpoint
* Cleanup imports
* Added time threshold for health check
* Update rpc doc
* Remove unnecessary checks for blocktime creation lag
* Clean up of unnecessary config usage
7 years ago
Emmanuel T Odeke
7cb3188fbc
testnet cmd: ensure config dir exists. closes #1290
7 years ago