3 ms·
Great work! I just started using Tendermint to write a cryptocurrency for supporting open source development and have several simple questions. Would appreciate
by ansek 9y ago
Great work! I just started using Tendermint to write a cryptocurrency for supporting open source development and have several simple questions. Would appreciate it if you could answer them:
1) What's your estimated time to be able to run in production?
2) What do you think of using something like PostgreSQL to keep the state?
3) Is it a good approach to write cron, for example, to recalculate some values once in awhile and update the state by sending transactions?
4) What is the best way to handle random numbers?
- coinculture 9y agoThanks! 1) We're looking to get the Cosmos Hub up before the year is out, and to roll out production support in 2018. 2) Great, if you like. But if you want to support light clients you will need a scheme for producing Merkle proofs. Streaming data out of the app into Postgres to better serve clients, sure. But Postgres within the hot paths of your app? Not sure. 3) Sure. Or you can use BeginBlock or EndBlock messages to have the blockchain automatically run code even without transactions :) 4) We're still working on this. For now you can use an external random number oracle, or the block hash, which is available in the Header passed into BeginBlock. The block hash is currently highly manipulable.
- sunnya97 9y agoSome other random generation techniques include commit-reveal schemes, BLS Threshhold Relays, VRFs, Private Hashchains, etc.