Ejemplo n.º 1
0
    void EtherIPC::onTimer() {
        getPeerCount();
        getSyncing();

        if ( !fBlockFilterID.isEmpty() && !fSyncing ) {
            getFilterChanges(fBlockFilterID);
        } else {
            getBlockNumber();
        }

        if ( !fEventFilterID.isEmpty() ) {
            getFilterChanges(fEventFilterID);
        }
    }
Ejemplo n.º 2
0
 void EtherIPC::onTimer() {
     getPeerCount();
     getFilterChanges(fFilterID);
 }