MCPcopy
hub / github.com/witheve/Eve / getAllBlocks

Method getAllBlocks

src/runtime/runtime.ts:181–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179
180
181 getAllBlocks() {
182 let blocks = [];
183 for(let database of this.databases) {
184 if(database.nonExecuting) continue;
185 for(let block of database.blocks) {
186 if(block.dormant) continue;
187 blocks.push(block);
188 }
189 }
190 return blocks;
191 }
192
193 queue(commit) {
194 if(!commit.length) return;

Callers 1

fixpointMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected