Timeline for eosjs, have getActions working both ways
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 16, 2018 at 17:59 | comment | added | Linda |
Ok, my bad... for future readers the solution is to specify the mongo URI otherwise the plugin is disabled so you just add something like that in the term when launching the nodeos script => --mongodb-uri mongodb://127.0.0.1:27017/EOS
|
|
Nov 16, 2018 at 17:47 | comment | added | Linda | Awesome, thanks for the feedback, I'm setting up my own node but not sure about the mongo_db_plugin. I've added the plugin in my config.ini (used to launch my nodeos instance). I can see on getInfo that the node is syncing pretty well but when I connect to mongo I can't see any new database in there... Am I missing anything here? Thanks again for your input, | |
Nov 15, 2018 at 4:52 | comment | added | Tong Shen | @Linda In the meantime, you can try the API provided by atticlab eosbp.atticlab.net . It has the actions data. | |
Nov 15, 2018 at 4:51 | history | edited | Tong Shen | CC BY-SA 4.0 |
Fix error
|
Nov 14, 2018 at 23:50 | comment | added | Tong Shen | @Linda And please remember, the mongodb instance may take over 400GB of disk space if you enable only action_traces collection, or over 1TB if you enable all collections. The syncing process may take days to catch up, or you can download the full data snapshot of the blockchain from eosnode.tools/blocks and replay. | |
Nov 14, 2018 at 23:41 | comment | added | Tong Shen | @Linda And for setting up nodeos, please follow these documentations: 1. Get the eosio code: developers.eos.io/eosio-nodeos/docs/getting-the-code ; 2. Build eosio: developers.eos.io/eosio-nodeos/docs/autobuild-script ; 3. Set it up as non-producing node: developers.eos.io/eosio-nodeos/docs/configuration-file developers.eos.io/eosio-nodeos/docs/… | |
Nov 14, 2018 at 23:37 | comment | added | Tong Shen | Hi @Linda! You will need to have a full node of eos and set it up with mongo_db_plugin. It's currently not a super easy task to get done. You can check this repo out: github.com/EOS-BP-Developers/eosio-mongodb-queries | |
Nov 14, 2018 at 20:50 | comment | added | Linda | Hi, many thanks for your answer it's super helpful. Can you ELI5 how to use the mango_db_plugin? I'm not sure I'm following that bit.The documentation does speak about using Mongo and I'm a bit familliar with it but how do I connect the mongo db with eos? Are there public mongo collections on BP endpoints or should I run a local node? Where's the connection point here? I've read the doc but something is missing or I don't understand the full logic, I get it that the plugin is an eosio plugin but how do I use that with NODEJs for example? Thanks in advance for your help ;-) | |
Nov 14, 2018 at 17:41 | history | edited | Tong Shen | CC BY-SA 4.0 |
added 171 characters in body
|
Nov 14, 2018 at 17:34 | history | answered | Tong Shen | CC BY-SA 4.0 |