MCPcopy Create free account

hub / github.com/ethereum/node-crawler / functions

Functions175 in github.com/ethereum/node-crawler

↓ 25 callersMethodString
()
pkg/crawler/connection.go:44
↓ 18 callersMethodCode
()
pkg/crawler/connection.go:34
↓ 13 callersMethodAdd
Add ensures the given nodes are present in the set.
pkg/common/nodes.go:91
↓ 12 callersMethodError
()
pkg/crawler/connection.go:43
↓ 10 callersFunctionerrorf
(format string, args ...interface{})
pkg/crawler/connection.go:49
↓ 9 callersMethodget
(key: K)
frontend/src/data/SortedMap.ts:5
↓ 9 callersMethodqueryData
(option?: Option, filters?: Filter[])
frontend/src/data/DataProcessor.ts:63
↓ 8 callersMethodforEach
(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any)
frontend/src/data/SortedMap.ts:4
↓ 8 callersFunctionmatchesFilter
(client: any, filter: any)
frontend/src/data/FilterRunner.ts:1
↓ 8 callersMethodset
(key: K, value: V)
frontend/src/data/SortedMap.ts:7
↓ 6 callersFunctionmockProcessor
()
frontend/src/data/DataProcessor.test.ts:23
↓ 6 callersFunctiontoQuery
(query string, whereArgs []interface{})
pkg/api/api.go:151
↓ 5 callersMethodWrite
Write writes a eth packet to the connection.
pkg/crawler/connection.go:253
↓ 5 callersFunctionappendOtherGroup
(list: NamedCount[] | undefined)
frontend/src/data/DataMassager.ts:6
↓ 5 callersMethodcachedOrQuery
(prefix, query string, whereArgs []interface{})
pkg/api/api.go:137
↓ 4 callersFunctionSortedMap
(comparator: (a: [K, V], b: [K, V]) => number)
frontend/src/data/SortedMap.ts:13
↓ 4 callersFunctionparseOs
(os: string, parseOpt: ParseParam)
frontend/src/data/DataProcessor.ts:119
↓ 4 callersFunctionparseRuntime
(runtime: string, parseOpt: ParseParam)
frontend/src/data/DataProcessor.ts:138
↓ 4 callersFunctionparseVersion
(version: string, parseOpt: ParseParam)
frontend/src/data/DataProcessor.ts:95
↓ 4 callersFunctionset
(filterGroup: FilterGroup, name: string, value: string)
frontend/src/data/FilterUtils.ts:156
↓ 3 callersMethodNodes
Nodes returns the node records contained in the set.
pkg/common/nodes.go:78
↓ 3 callersMethodRun
(timeout time.Duration)
pkg/crawler/crawl.go:110
↓ 3 callersFunctiondrilldownFilter
(filters: FilterGroup[] | undefined, name: string, value: string)
frontend/src/data/FilterUtils.ts:155
↓ 3 callersFunctiongenerateQueryStringFromFilterGroups
(filterGroups: FilterGroup[])
frontend/src/data/FilterUtils.ts:21
↓ 3 callersFunctionmockRaw
()
frontend/src/data/DataProcessor.test.ts:15
↓ 3 callersFunctiononRemoveClicked
(e: React.MouseEvent<HTMLButtonElement, MouseEvent>, groupIndex: number, filterIndex: number, item: FilterItem
frontend/src/organisms/Filtering.tsx:136
↓ 3 callersFunctionopenSQLiteDB
( name, autovacuum string, busyTimeout uint64, )
cmd/crawler/utils.go:8
↓ 2 callersFunctionClientsProcessor
( data: ClientApiResponse[], errorCallback: (entity: string, data: string, clientId: string) => void )
frontend/src/data/DataProcessor.ts:191
↓ 2 callersFunctionParseVersionString
(input string)
pkg/vparser/vparser.go:44
↓ 2 callersMethodRead
Read reads an eth66 packet from the connection.
pkg/crawler/connection.go:166
↓ 2 callersFunctioncleanFilterGroup
(groups: FilterGroup[])
frontend/src/data/FilterUtils.ts:81
↓ 2 callersFunctionfilterCount
(filters: FilterGroup[] | undefined)
frontend/src/data/FilterUtils.ts:193
↓ 2 callersMethodhas
(key: K)
frontend/src/data/SortedMap.ts:6
↓ 2 callersFunctionlisten
(ln *enode.LocalNode, addr string)
pkg/crawler/helper.go:35
↓ 2 callersMethodmakeDiscoveryConfig
()
pkg/crawler/helper.go:13
↓ 2 callersFunctiononSaveClicked
(groupIndex: number, filterIndex: number, item: FilterItem)
frontend/src/organisms/Filtering.tsx:127
↓ 2 callersFunctionparseLanguage
(input string)
pkg/vparser/vparser.go:87
↓ 2 callersFunctionparseOS
(input string)
pkg/vparser/vparser.go:162
↓ 2 callersFunctionparseVersion
(input string)
pkg/vparser/vparser.go:99
↓ 2 callersFunctionparseVersionNumber
(input string)
pkg/vparser/vparser.go:140
↓ 2 callersMethodrunCrawler
(disc resolver, inputSet common.NodeSet)
pkg/crawler/crawl.go:341
↓ 2 callersFunctiontryParseNumber
(input: string)
frontend/src/data/DataProcessor.ts:91
↓ 2 callersFunctionversionToString
(version: Version)
frontend/src/data/DataProcessor.ts:256
↓ 1 callersMethodCrawlRound
( inputSet common.NodeSet, db *sql.DB, geoipDB *geoip2.Reader, )
pkg/crawler/crawl.go:267
↓ 1 callersFunctionCreateDB
(db *sql.DB)
pkg/apidb/database.go:14
↓ 1 callersFunctionCreateDB
(db *sql.DB)
pkg/crawlerdb/db.go:144
↓ 1 callersFunctionDropOldNodes
(db *sql.DB, minTimePassed time.Duration)
pkg/apidb/database.go:123
↓ 1 callersMethodHandleRequests
()
pkg/api/api.go:51
↓ 1 callersFunctionInsertCrawledNodes
(db *sql.DB, crawledNodes []crawlerdb.CrawledNode)
pkg/apidb/database.go:41
↓ 1 callersFunctionLoadNodesJSON
(file string)
pkg/common/nodes.go:55
↓ 1 callersFunctionNew
(address string, sdb *sql.DB)
pkg/api/api.go:22
↓ 1 callersFunctionNewCrawler
( genesis *core.Genesis, networkID uint64, nodeURL string, input common.NodeSet, workers uint64, disc re
pkg/crawler/crawl.go:79
↓ 1 callersMethodRandomNodes
()
pkg/crawler/crawl.go:76
↓ 1 callersFunctionReadAndDeleteUnseenNodes
(db *sql.Tx)
pkg/crawlerdb/crawlerdb.go:18
↓ 1 callersMethodRequestENR
(*enode.Node)
pkg/crawler/crawl.go:75
↓ 1 callersFunctionSetup
Setup initializes profiling and logging based on the CLI flags. It should be called as early as possible in the program.
cmd/crawler/setup.go:94
↓ 1 callersFunctionStartPProf
(address string, withMetrics bool)
cmd/crawler/setup.go:134
↓ 1 callersFunctionUpdateNodes
(db *sql.DB, geoipDB *geoip2.Reader, nodes []common.NodeJSON)
pkg/crawlerdb/db.go:26
↓ 1 callersMethodWriteNodesJSON
(file string)
pkg/common/nodes.go:63
↓ 1 callersFunctionaddFilterArgs
(vars map[string]string)
pkg/api/api.go:65
↓ 1 callersMethodclear
()
frontend/src/data/SortedMap.ts:2
↓ 1 callersFunctionclientQuery
(db *sql.DB, query string, args ...interface{})
pkg/api/api.go:289
↓ 1 callersFunctiondecodeRecordBase64
(b []byte)
pkg/crawler/enr.go:66
↓ 1 callersFunctiondecodeRecordHex
(b []byte)
pkg/crawler/enr.go:57
↓ 1 callersMethoddelete
(key: K)
frontend/src/data/SortedMap.ts:3
↓ 1 callersFunctiondial
dial attempts to dial the given node and perform a handshake,
pkg/crawler/handshake.go:77
↓ 1 callersMethoddiscv4
(inputSet common.NodeSet)
pkg/crawler/crawl.go:327
↓ 1 callersMethoddiscv5
(inputSet common.NodeSet)
pkg/crawler/crawl.go:313
↓ 1 callersMethoddropCacheLoop
()
pkg/api/api.go:38
↓ 1 callersFunctiondropDaemon
(db *sql.DB, dropTimeout time.Duration)
cmd/crawler/api.go:148
↓ 1 callersFunctiongenerateFilterGroupsFromQueryString
(queryString: string)
frontend/src/data/FilterUtils.ts:29
↓ 1 callersFunctiongetClientInfo
(genesis *core.Genesis, networkID uint64, nodeURL string, n *enode.Node)
pkg/crawler/handshake.go:29
↓ 1 callersMethodgetClientInfoLoop
()
pkg/crawler/crawl.go:176
↓ 1 callersMethodgetRaw
()
frontend/src/data/DataProcessor.ts:64
↓ 1 callersFunctiongetStatus
(config *params.ChainConfig, version uint32, genesis *ethTypes.Block, network uint64, nodeURL string)
pkg/crawler/handshake.go:147
↓ 1 callersFunctiongetUniqueFilters
(groups: FilterGroup[] | undefined)
frontend/src/data/FilterUtils.ts:105
↓ 1 callersFunctionhashGroup
(filterGroup: FilterGroup)
frontend/src/data/FilterUtils.ts:83
↓ 1 callersMethodmakeGenesis
makeGenesis is the pendant to utils.MakeGenesis with local flags instead of global flags.
pkg/crawler/crawl.go:354
↓ 1 callersFunctionmatchesFilters
(client: Client, filters?: Filter[])
frontend/src/data/DataProcessor.ts:241
↓ 1 callersMethodnegotiateEthProtocol
negotiateEthProtocol sets the Conn's eth protocol version to highest advertised capability from peer
pkg/crawler/connection.go:264
↓ 1 callersFunctionnewNodeDaemon
newNodeDaemon reads new nodes from the crawler and puts them in the db Might trigger the invalidation of caches for the api in the future
cmd/crawler/api.go:130
↓ 1 callersFunctiononInternalSaveClicked
()
frontend/src/organisms/Filtering.tsx:42
↓ 1 callersFunctionoperatingSystemToString
(os: OperatingSytem)
frontend/src/data/DataProcessor.ts:288
↓ 1 callersFunctionparse
(item: ClientApiResponse)
frontend/src/data/DataProcessor.ts:202
↓ 1 callersMethodparseBootnodes
()
pkg/crawler/helper.go:51
↓ 1 callersFunctionparseNode
parseNode parses a node record and verifies its signature.
pkg/crawler/enr.go:33
↓ 1 callersFunctionparseRaw
(raw: string, parseOpt: ParseParam)
frontend/src/data/DataProcessor.ts:153
↓ 1 callersFunctionparseRecord
parseRecord parses a node record from hex, base64, or raw binary input.
pkg/crawler/enr.go:45
↓ 1 callersFunctionreadHello
(conn *Conn, info *common.ClientInfo)
pkg/crawler/handshake.go:124
↓ 1 callersFunctionreadStatus
(conn *Conn, info *common.ClientInfo)
pkg/crawler/handshake.go:179
↓ 1 callersFunctionrun
()
frontend/src/pages/Home.tsx:70
↓ 1 callersMethodrunIterator
(done chan<- enode.Iterator, it enode.Iterator)
pkg/crawler/crawl.go:165
↓ 1 callersFunctionruntimeToString
(runtime: Runtime)
frontend/src/data/DataProcessor.ts:274
↓ 1 callersMethodstoreCache
( clientQuery, languageQuery, osQuery, countryQuery, versionQuery string, whereArgs []interface{}, r re
pkg/api/api.go:164
↓ 1 callersFunctiontransferNewNodes
(crawlerDB, nodeDB *sql.DB)
cmd/crawler/api.go:97
↓ 1 callersFunctionunmarshalFilterArgs
filter args are marshalled as key:value or key:value:comp with comp being a comparator (eq, gt, lt, gte, lte, not)
pkg/api/api.go:103
↓ 1 callersMethodupdateNode
(n *enode.Node)
pkg/crawler/crawl.go:224
↓ 1 callersFunctionvalidateKey
(key string)
pkg/api/api.go:306
↓ 1 callersFunctionwriteHello
(conn *Conn, priv *ecdsa.PrivateKey)
pkg/crawler/handshake.go:104
MethodCode
()
pkg/crawler/connection.go:46
next →1–100 of 175, ranked by callers