Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JOURNAL] Week 03 (pradyuman) #5

Closed
pradyuman-verma opened this issue Aug 17, 2021 · 1 comment
Closed

[JOURNAL] Week 03 (pradyuman) #5

pradyuman-verma opened this issue Aug 17, 2021 · 1 comment

Comments

@pradyuman-verma
Copy link

What I learned :

  • This week, we hopped into the code base, and went through some files containing code about JSON-rpc API and rest API.
  • I looked at test files of this code implementation, and tried breaking the code and curing it afterwords.
  • Also made some changes in the test files to increase code coverage and raised a PR (check it here)
  • And I resolved this issue by making changes to blockchain directory files. (here is the PR that resolves the issue).
  • Last but not least, I did set up my bcoin node in spv mode, and checked commands that do work in this mode.

Questions :
1. What are different types of logger levels available on bcoin ?
-> So, bcoin support six types (technically five). These are - none, error, info, warning, debug, spam.
You can check those here.
Logger.levels = { NONE: 0, ERROR: 1, WARNING: 2, INFO: 3, DEBUG: 4, SPAM: 5 };
To set the logger level manually, you can use --log-level=info while starting your bcoin node.

@pinheadmz
Copy link
Owner

Great thanks for your journal and for the pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants