mirror of
https://github.com/kvazar-network/crawler.git
synced 2025-01-22 12:54:20 +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
|
// 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
|
$namespace
|
||||||
) as $record)
|
) as $record)
|
||||||
{
|
{
|
||||||
// Get current block transactions only
|
// Get current block transactions only
|
||||||
if ($record['height'] == $block)
|
if ($record['height'] === $block)
|
||||||
{
|
{
|
||||||
// Register new transaction
|
// Register new transaction
|
||||||
$index->add(
|
$index->add(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user