Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@stellarbeat/js-stellar-node-crawler
Advanced tools
Readme
Crawl the Stellar Network. Identify the nodes and determine their validating status, version, lag,....
See readme in src/README.md for an overview of the functionality and architecture.
yarn install
yarn run build
: builds code in lib folder
let myCrawler = createCrawler({
nodeConfig: getConfigFromEnv(),
maxOpenConnections: 25,
maxCrawlTime: 900000
});
The crawler is itself a node and needs to be configured accordingly. You can limit the number of simultaneous open connections to not overwhelm your server and set the maxCrawlTime as a safety if the crawler should be stuck.
let result = await myCrawler.crawl(
nodes, // [[ip, port], [ip, port]]
trustedQSet, //a quorumSet the crawler uses the determine the latest closed ledger
latestKnownLedger //a previous detected ledger the crawler can use to ignore older externalize messages
);
Check out examples/crawl.js
for an example on how to crawl the network. You can try it out using the bundled seed file with the following command:
yarn run examples:crawl seed/nodes.json
Another example is the Stellarbeat backend
Uses the np package and semantic versioning.
np
FAQs
Crawl the network for nodes
The npm package @stellarbeat/js-stellar-node-crawler receives a total of 51 weekly downloads. As such, @stellarbeat/js-stellar-node-crawler popularity was classified as not popular.
We found that @stellarbeat/js-stellar-node-crawler demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.