Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devaccuracy/ledgerforge
/ randomTraffic
Function
randomTraffic
tests/loadtest/script.js:263–266 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
261
}
262
263
export
function
randomTraffic() {
264
var
destination =
"@"
+ uuidv4();
265
postTxn(destination +
"-source"
, destination);
266
}
267
268
export
function
hotSourceTraffic() {
269
var
source = bucketedName(HOT_SOURCE, SOURCE_BUCKETS);
Callers
nothing calls this directly
Calls
1
postTxn
Function · 0.85
Tested by
no test coverage detected