Search
Preparing search index...
The search index is not available
CICADA
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
CICADA
app/_services/block-sync.service
BlockSyncService
Class BlockSyncService
Hierarchy
BlockSyncService
Index
Constructors
constructor
Properties
ready
State
ready
State
Target
Methods
block
Sync
fetcher
init
new
Event
ready
State
Processor
scan
Constructors
constructor
new
Block
Sync
Service
(
transactionService
:
TransactionService
, loggingService
:
LoggingService
)
:
BlockSyncService
Parameters
transactionService:
TransactionService
loggingService:
LoggingService
Returns
BlockSyncService
Properties
ready
State
ready
State
:
number
= 0
ready
State
Target
ready
State
Target
:
number
= 2
Methods
block
Sync
block
Sync
(
address
?:
string
, offset
?:
number
, limit
?:
number
)
:
Promise
<
void
>
Parameters
address:
string
= null
offset:
number
= 0
limit:
number
= 100
Returns
Promise
<
void
>
fetcher
fetcher
(
settings
:
Settings
, transactionsInfo
:
any
)
:
void
Parameters
settings:
Settings
transactionsInfo:
any
Returns
void
init
init
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
new
Event
new
Event
(
tx
:
any
, eventType
:
string
)
:
any
Parameters
tx:
any
eventType:
string
Returns
any
ready
State
Processor
ready
State
Processor
(
settings
:
Settings
, bit
:
number
, address
:
string
, offset
:
number
, limit
:
number
)
:
void
Parameters
settings:
Settings
bit:
number
address:
string
offset:
number
limit:
number
Returns
void
scan
scan
(
settings
:
Settings
, lo
:
number
, hi
:
number
, bloomBlockBytes
:
Uint8Array
, bloomBlocktxBytes
:
Uint8Array
, bloomRounds
:
any
)
:
Promise
<
void
>
Parameters
settings:
Settings
lo:
number
hi:
number
bloomBlockBytes:
Uint8Array
bloomBlocktxBytes:
Uint8Array
bloomRounds:
any
Returns
Promise
<
void
>
Exports
app/_
services/block-
sync.service
Block
Sync
Service
constructor
ready
State
ready
State
Target
block
Sync
fetcher
init
new
Event
ready
State
Processor
scan
Generated using
TypeDoc