mirror of
https://github.com/kvazar-network/crawler.git
synced 2025-01-22 04:45:18 +00:00
collect namespace index
This commit is contained in:
parent
ab7c76abbd
commit
d681689aac
@ -309,12 +309,12 @@ for ($block = $state + 1; $block <= $blocks; $block++)
|
||||
);
|
||||
|
||||
// Find all data by namespace
|
||||
foreach ((array) $kevacoin->kevaGroupFilter( // @TODO complete \Kvazar\Crypto\Kevacoin to decode tx faster
|
||||
foreach ((array) $kevacoin->kevaFilter( // @TODO complete \Kvazar\Crypto\Kevacoin to decode tx faster
|
||||
$namespace
|
||||
) as $record)
|
||||
{
|
||||
// Get current block transactions only
|
||||
if ($record['height'] == $block)
|
||||
if ($record['height'] === $block)
|
||||
{
|
||||
// Register new transaction
|
||||
$index->add(
|
||||
|
Loading…
x
Reference in New Issue
Block a user