a605b66c5a
Move abci imports
2018-06-22 07:28:07 +02:00
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
...
This reverts commit 96a3502
2018-06-20 17:35:30 -07:00
96a3502126
delete everything
2018-06-20 15:19:08 -07:00
b5775b56c6
all: gofmt ( #1743 )
...
* all: gofmt
Run 'gofmt -w .' from project root.
* Update changelog to say that I ran gofmt
* Revert "Update changelog to say that I ran gofmt"
This reverts commit 956f133ff0354fd7338e7df7c823e6f98b655da6.
2018-06-15 02:03:50 +02:00
fcf61b8088
check addrs match pubkeys in abci Validator. version bump
2018-06-06 16:35:35 -07:00
6b8613b3e7
ResponseEndBlock: ensure Address matches PubKey if provided
2018-06-06 16:12:14 -07:00
71556c62eb
fixes from rebase
2018-06-05 22:14:37 -07:00
54e61468d4
fixes from review
2018-06-05 22:04:38 -07:00
3d2c4fd309
update Evidence type - requires pubkey and valset to verify and convert to abci.Evidence
2018-06-05 22:04:26 -07:00
866bcceb35
fix consensus tests
2018-06-05 22:00:25 -07:00
e1e6878a4d
fix state tests
2018-06-05 22:00:25 -07:00
e4147b6f1a
state test runs
2018-06-05 22:00:25 -07:00
485b4a0c6f
revert gogo
2018-06-05 21:59:52 -07:00
575d94dbb9
state compiles
2018-06-05 21:59:52 -07:00
2007c66091
fix test
2018-06-04 21:20:23 -07:00
97c5533c35
update some comments
2018-06-04 21:20:23 -07:00
3d33226e80
move types/services.go to state pkg. pass State to evpool.Update
2018-06-04 21:20:23 -07:00
edb851280a
state: b -> block
2018-06-04 21:20:23 -07:00
dd62f06994
state: s -> state
2018-06-04 21:20:23 -07:00
f1c53c7358
evidence: dont send evidence to unsynced peers
...
* only send evidence to peers that are synced enough to validate it all
* closes #1624
2018-06-04 21:20:23 -07:00
6004587347
expect all tags to be strings ( #1498 )
...
* expect all tags to be strings
Refs #1369
* port changes from https://github.com/tendermint/tmlibs/pull/204
Refs #1369
2018-05-28 14:37:11 +04:00
bb9aa85d22
copy events and pubsub packages from tmlibs
...
Refs #847
2018-05-21 10:51:47 +04:00
5e3a23df6d
simplify indexer service main loop
2018-05-17 10:00:59 +04:00
6f7333fd5f
fix tests
2018-05-17 10:00:59 +04:00
58e3246ffc
batch index txs
2018-05-17 10:00:59 +04:00
c68d406195
fix tests
2018-04-07 19:47:19 +03:00
c170800fbd
Merge branch 'develop' into jae/aminoify
2018-04-07 16:16:53 +03:00
e4492afbad
Merge
2018-04-05 08:17:10 -07:00
89cdde7f1e
Fix state tests
2018-04-03 06:50:53 -07:00
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.
2018-04-02 10:21:17 +02:00
2b63f57b4c
fix tx_indexer's matchRange
...
before we're using IteratePrefix, which is wrong because we want full
range, not just "account.number=1".
2018-03-28 15:02:54 +02:00
4085c72496
sort /tx_search results by height by default
...
Refs #1366
2018-03-28 15:02:54 +02:00
116a4ec705
temporary fix
...
I assume there is a deeper issue with how UnmarshalBinary works in
go-amino (i.e., when loading array of some objects, the empty array
becomes []object{nil}). Note when Marshaling, the object is nil.
2018-03-23 12:47:02 +01:00
656854186c
state: fix txResult issue with UnmarshalBinary into ptr
2018-03-02 02:28:17 -05:00
eaafd9d61c
state: builds
2018-03-02 01:51:27 -05:00
2cc63069c6
rename dummy to kvstore ( #1223 )
...
* remove accidental binary
* docs: s/Dummy&dummy/KVStore&kvstore/g
* glide update to abci
* update abci import paths
* dummy begone, hello kvstore
* RequestInitChain needs genesisBytes
* glide update
2018-02-27 18:01:10 +04:00
f4feb7703b
fix appHash log. closes #1207
2018-02-19 15:32:09 -05:00
106cdb74e5
do not enforce 1/3 validator power change
...
leave it to the app
Refs #1022
2018-02-09 23:30:04 +04:00
d34286c421
minor fixes - tests pass
2018-02-03 03:54:49 -05:00
bb2bdbc0e1
add missing element (tag.Value) to keyForTag
...
encoded as %s. not sure this will work with raw bytes
2018-02-03 03:52:25 -05:00
cd0fd06b0d
update for sdk2 libs. need to fix kv test
...
NOTE we only updating for tmlibs and abci
2018-02-03 03:35:02 -05:00
57cc8ab977
Merge pull request #1143 from tendermint/1091-race-condition
...
call FlushSync before calling CommitSync
2018-01-24 14:22:43 -05:00
5f3048bd09
call FlushSync before calling CommitSync
...
if we call it after, we might receive a "fresh" transaction from
`broadcast_tx_sync` before old transactions (which were not
committed).
Refs #1091
```
Commit is called with a lock on the mempool, meaning no calls to CheckTx
can start. However, since CheckTx is called async in the mempool
connection, some CheckTx might have already "sailed", when the lock is
released in the mempool and Commit proceeds.
Then, that spurious CheckTx has not yet "begun" in the ABCI app (stuck
in transport?). Instead, ABCI app manages to start to process the
Commit. Next, the spurious, "sailed" CheckTx happens in the wrong place.
```
2018-01-23 16:56:14 +04:00
ee674f919f
StopPeerForError in blockchain and consensus
2018-01-21 13:32:04 -05:00
28bbeac763
state: send byzantine validators in BeginBlock
2017-12-29 11:26:55 -05:00
444db4c242
metalinter
2017-12-28 23:15:54 -05:00
cb845ebff5
fix EvidencePool and VerifyEvidence
2017-12-28 23:15:54 -05:00
6112578d07
ValidateBlock is a method on blockExec
2017-12-28 23:15:54 -05:00
ae68fcb78a
move fireEvents to ApplyBlock
2017-12-28 23:15:54 -05:00
1d6f00859d
fixes from review
2017-12-28 23:15:54 -05:00