Commit Graph

108 Commits

Author SHA1 Message Date
Ethan Buchman 3235b2d647 update glide 2018-01-06 16:07:54 -05:00
Jae Kwon 657820372c App compiles. Ready to build on it 2017-12-26 17:04:48 -08:00
Jae Kwon e7b38b3fb9 ABCI w/ more non-nullable fields 2017-12-22 00:23:37 -08:00
Ethan Buchman a9b2636439 Coin (#312)
* wip: tests and fixes for kvstore iteration
* update for latest tmlibs
* types compiles
* x/coin almost compiles
* x/coin: move things out of the way so it builds
* rebase fixes
* update glide
* add test for ChainDecorators
2017-12-21 03:31:33 -08:00
Jae Kwon 66e6225d13 Update glide file 2017-12-19 20:52:07 -08:00
Jae Kwon eb1f877d3d
KVStore refactor (#303)
I removed that stuff about cwwMutex and CacheWraps expiring. It was unnecessary complexity given that users need not write concurrent logic. If you have 2 CacheKVStores and you Write on one and later you Write on the other one, they will both write, and strange things may happen. But that’s OK, it’s kinda the expected (unsurprising) behavior. And now the code is much simpler.

Also I got rid of IterKVStore. It’s not necessary to distinguish them because we can have KVStore.Iterator() return nil or panic or an empty iterator. Further simplification…

KVStore.CacheKVStore() doesn’t exist. No need, just call NewCacheKVStore(parent).

Originally I wanted the .CacheKVStore() method because you can make the implementor be responsible for ensuring that returned CacheWraps don’t trample each other. But as written previously this complicates the code a lot more and it isn’t strictly necessary. It’s a kind of magic that maybe should just be avoided.

sdk.Iterator is dbm.Iterator. The plan is to conservatively add more aliases into the “sdk” namespace.

GetError() is removed from Iterator. We need to just panic to be consistent. More simplification.
2017-12-12 20:13:51 -08:00
Jae Kwon 04fcc6193c
iavlIterator using goroutine (#295) 2017-12-10 00:24:55 -08:00
Jae Kwon f4484ab3b5 Implementing iavlStore... 2017-12-09 12:35:51 -08:00
Jae Kwon 1d207a2a5e Fixing store/* bugs... 2017-12-04 00:23:10 -08:00
Ethan Frey 995feb532c Update after rebase 2017-10-25 19:35:36 +02:00
Ethan Frey b5320748e6 Update to reorged light-client 2017-10-25 19:35:36 +02:00
Ethan Frey ae09c8faff Dpes use develop, now that abci and light client prs are merged 2017-10-25 19:14:28 +02:00
Ethan Frey 630c5ca9ff Update iavl tree and address pr cleanup comments 2017-10-25 19:14:28 +02:00
Ethan Frey ae6c9ef9b1 update abci, iavl, tendermint versions again 2017-10-25 19:14:28 +02:00
Ethan Frey 422e67b382 Update deps: tendermint/abci/iavl, fix code 2017-10-25 19:14:28 +02:00
Ethan Buchman 1785f54a57 update glide 2017-10-11 17:23:37 -04:00
Alexis Sellier 7050862261 Update glide.lock for latest iavl 2017-10-10 17:16:08 +02:00
Alexis Sellier ee6cb37ced Update tendermint/iavl dependency 2017-10-05 16:01:57 +02:00
Alexis Sellier bc5edbdc89 Update/fix glide file 2017-10-05 12:52:59 +02:00
Alexis Sellier 0fdccfc60d Update glide.lock 2017-10-04 17:05:18 +02:00
Ethan Buchman f40fa5b416 more glide tm updates 2017-10-03 00:02:45 -04:00
Ethan Buchman 12c2d0428b glide: tm fix 2017-10-02 21:25:23 -04:00
Ethan Buchman 1f151d1232 update for tendermint 0.11 2017-10-02 14:40:42 -04:00
Ethan Frey 0307321051 Update go-crypto for 4 byte checksums like 0.6.2 2017-09-13 14:13:50 +02:00
Ethan Frey 307bc8e746 Update dependencies again for go-crypto 2017-09-08 20:47:46 +02:00
Ethan Frey 2951763660 Moved merkleeyes->iavl and updated references 2017-09-08 20:47:46 +02:00
Ethan Frey b869a999c3 Update deps, break on iavl proof changes 2017-09-08 20:47:46 +02:00
Adrian Brink 1ad317642e Update path in glide.yaml (#235)
* Update path in glide.yaml

* Update deps with glide up
2017-08-22 12:30:52 +01:00
Alexis Sellier 54304ba5e6 Update merkleeyes dependency
It seems like to force it to update to latest unstable, we have to
specify origin/unstable.
2017-08-10 14:51:56 +02:00
Alexis Sellier d1b49da825 Use new Certifier type from light-client 2017-08-08 18:52:28 +02:00
Ethan Frey 18a1dd7f6b Migrate Bonsai to GetWithProof 2017-08-04 15:46:00 +02:00
Emmanuel Odeke 1a45755027 client/rest, modules/coin/rest: moved code around
After offline emails and a video call with @ethanfrey,
a goal was decided to move things around i.e:
- [X] Move /build/send and /query/account to modules/coin/rest

Due to that move, there is a lot of overlap between needed
code and utils so extracted common code to make
https://github.com/tendermint/tmlibs/pull/33
so make sure to pull in that commit into your tmlibs tree.

After code review feedback:
client/rest, modules/coin/rest: FoutputProof, PrepareSendTx helper

* Extract OutputProof to FoutputProof helper that can
be used in modules/coin/rest/handlers.go as proofs.FoutputProof
* Revert r.HandleFunc("/tx", doPostTx).Methods("POST") which
was erraneously deleted
* Use function signatures from "tendermint/tmblibs/common"
2017-08-02 12:57:29 -06:00
Ethan Frey bd14f0bfb9 Fix up imports after megre 2017-07-27 16:49:22 -04:00
Ethan Frey 6632d88b3d IBC post packet test passes 2017-07-27 16:41:37 -04:00
Ethan Frey f32e6c9b7d Updated light-client 2017-07-27 16:41:36 -04:00
Ethan Frey 51a29e4bb7 Ported everything to SimpleDB interface 2017-07-27 15:31:33 -04:00
Ethan Frey d607b76234 Reorg state package and fix all imports 2017-07-27 15:31:33 -04:00
Ethan Frey 744d035d95 Test list queries and iavl implementation 2017-07-27 15:31:32 -04:00
Ethan Frey af8f858ec2 Enable tests to work without internet 2017-07-20 15:57:53 +02:00
Ethan Frey a9e4a94402 Moved all commands from light-client into basecoin 2017-07-18 21:23:11 +02:00
Ethan Frey 64b434a375 Version bump and changelog 2017-06-28 13:20:54 +02:00
Ethan Frey 71946ada6f Add new rpc subcommand from light-client 2017-06-27 18:13:29 +02:00
Ethan Frey 41bc371a1d Update dependencies, set merkleeyes logger 2017-06-27 15:20:32 +02:00
Ethan Frey e839a92f88 Updated RequireInit, latest light-client 2017-06-26 21:36:49 +02:00
Ethan Frey e37c0cf538 Update dependencies, improve basecli init check 2017-06-26 18:22:51 +02:00
Ethan Frey 7a09fbd598 Update dependencies and CHANGELOG 2017-06-26 18:22:51 +02:00
Ethan Frey f5a546894c Resolve issue #135, support 0x on account queries 2017-06-26 18:22:51 +02:00
Ethan Frey c36352e4a5 Refactor tendermint config loading 2017-06-26 18:22:50 +02:00
Ethan Frey aa18ff4c4c Update go-crypto with keys seedphrase, better testable password prompts 2017-06-21 20:13:54 +02:00
Ethan Frey f249748ce1 Update to latest merkleeyes:fix-restart-height branch 2017-06-21 18:38:19 +02:00