-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add getNetworkInfo rpc #180
Conversation
Deploy preview for jellyfish-defi ready! Built with commit b263e44 |
size-limit report 📦
|
Codecov Report
@@ Coverage Diff @@
## main #180 +/- ##
==========================================
- Coverage 95.50% 95.10% -0.40%
==========================================
Files 56 56
Lines 1180 1186 +6
Branches 149 150 +1
==========================================
+ Hits 1127 1128 +1
- Misses 50 55 +5
Partials 3 3
Continue to review full report at Codecov.
|
website/docs/jellyfish/api/net.md
Outdated
version: number | ||
subversion: string | ||
protocolversion: number | ||
localservices: string | ||
localrelay: boolean | ||
timeoffset: number | ||
connections: number | ||
networkactive: boolean | ||
networks: Network[] | ||
relayfee: number | ||
incrementalfee: number, | ||
localaddresses: LocalAddress[], | ||
warnings: string | ||
} | ||
|
||
interface Network { | ||
name: string, | ||
limited: boolean, | ||
reachable: boolean, | ||
proxy: string, | ||
proxy_randomize_credentials: boolean | ||
} | ||
|
||
interface LocalAddress { | ||
address: string, | ||
port: number, | ||
score: number | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commas consistency, you should follow net.ts
note because npm run standard will always fix your commas at push but I disabled it for markdown.
/kind feature
What this PR does / why we need it:
Add new getNetworkInfo rpc