Commit Graph

123 Commits

Author SHA1 Message Date
Ethan Frey ee31db3263 Very rough import of old keys logic 2018-03-01 02:36:57 +00:00
Ethan Frey e8676921f7 Basecoind start works with upgraded tendermint 2018-03-01 02:36:08 +00:00
Ethan Frey f93947f3ab Update tendermint, can parse genesis in start 2018-03-01 02:34:05 +00:00
Ethan Frey c0f9a6f1cb Update dependencies to import tendermint 2018-03-01 02:30:14 +00:00
zramsay 7e39fb01f1 glide update: use abci develop 2018-02-19 17:13:59 +00:00
Ethan Buchman 96b734b729 glide update for abci RequestInitChain.AppStateBytes 2018-02-17 16:32:30 -05:00
Ethan Buchman bdc33f6a10 examples/gaia 2018-02-13 08:40:09 -05:00
Ethan Frey 0b0500e8a0 Rebased on develop, fixed imports 2018-02-13 08:40:09 -05:00
Adrian Brink ea62142adf
Remove Tendermint Core as dependency to enable build 2018-02-03 12:32:13 +01:00
Jae Kwon 9480f976e1 Update glide.lock 2018-01-22 06:20:46 -08:00
Jae Kwon be665d53fe Substore->Store; BaseApp has db; Mapper 2018-01-22 06:20:46 -08:00
Jae Kwon 68e04e629a Do not use global wire.Marshal* 2018-01-21 19:48:19 -08:00
Jae Kwon 81b6012021 Vendor tools into tools/* (#331)
* Add tools dir
* Update Makefile to call tools/Makefile
* Add cmd/basecoind to make make pass
2018-01-16 11:24:20 -08:00
Ethan Buchman 381424460c basecoin compiles 2018-01-14 22:49:57 -05:00
Ethan Buchman d2a801a513 fix glide. basecoin doesnt compile ... 2018-01-13 12:37:00 -05:00
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