Skip to content

Commit

Permalink
remove sponsorship groups, filter by groups (exchange and invoke)
Browse files Browse the repository at this point in the history
  • Loading branch information
deemru committed Sep 13, 2020
1 parent be79046 commit 4265321
Show file tree
Hide file tree
Showing 6 changed files with 362 additions and 185 deletions.
5 changes: 4 additions & 1 deletion include/Blockchain.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ public function getTxIdsFromTo( $from, $to )

public function rollback( $from )
{
if( $this->height - $from > 1000 )
$this->rollback( $from + 1000 );

$txfrom = w8h2k( $from ) - 1; // all txs + last generator
$tt = microtime( true );
$this->db->begin();
Expand Down Expand Up @@ -190,7 +193,7 @@ public function update( $block = null )

if( 0 ) // CUSTOM ROLLBACK
{
$this->rollback( 2219998 );
$this->rollback( 1080000 );
exit( 'ok' );
return W8IO_STATUS_UPDATED;
}
Expand Down
Loading

0 comments on commit 4265321

Please sign in to comment.