-
Notifications
You must be signed in to change notification settings - Fork 133
a question about get txs #55
Comments
hey @Elvenisboy, great questions!
correct, you'll only wanna
you can specify the locations of other tendermint nodes you want to connect to like this: let app = lotion({
p2pPort: 46656,
peers: [
'localhost:46657',
'12.22.11.33:46657',
'<ip>:<p2p-port>',
'<other-ip>:<other-p2p-port>'
]
// ... plus your other app options here ...
}) also consider whether a light client might do what you need in this section of the readme! thanks @Elvenisboy, holla if anything else is confusing. |
Aha, thanks for you answer @keppel😁. This is a sad story if I can get txs only in local. In a Blockchain app , we can’t avoid querying txs in database. Such as query somebody’s account balance or develop a Blockchain explorer. So if I wanna to get a complete data, what should I do? 😀😀 |
you can run a full node locally, connect it to a peer, then querying
you should probably just keep account balances in your |
@keppel OK~ Thank you for your help😋 |
Hey~keppel @keppel I found a interesting thing. when i run couter app, and add a tx in it like this:
then, use this url in firefox:
it will give me a message in bash:
emmmm, and I found that I can't add a new tx in blockchain, so sad 😢 This may be a bug for tendermint 😕 |
not a bug in tendermint, just related to the way I handle abci queries in the abci server that lotion manages! for now, I'd pretend if you wanna describe what you'd like to do, I'd be happy to explain how exactly you might go about building it w/ lotion! thanks for your questions btw -- I'll try to clarify the things you ask about in the readme. :) |
Thanks again~ I wanna develop a ACG community with tendermint and lotion~ Few days ago, I found lotion, and it is friendly than cosmos-sdk(I think) 😄 Can I join lotion slack group? @keppel |
awesome! you absolutely may jump in the slack. :) |
After read code, I found that txs store in a nother database (txCache)which will not sync by Tendermint. So that means when I query a tx information in one peer, I can get it. If I query this information in another peer, I can’t get it, right? Emmmm, I have another question : how to let one lotion peer connect another one? I can’t find this way in document 😅😅😅
The text was updated successfully, but these errors were encountered: