You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an in-memory implementation of the storage.Registers interface. As a preliminary step, split Registers into 2 interfaces: RegistersReader and the main interface (similar to TransactionResults)
Next, implement all methods.
The cache will be used concurrently, however, data will be written once and immutable. We can take advantage of this to avoid adding a lock by checking if data was written before reading/writing.
The value for FirstHeight should be passed in during construction, and the value for LatestHeight should be passed in during the call to Store.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Create an in-memory implementation of the
storage.Registers
interface. As a preliminary step, splitRegisters
into 2 interfaces:RegistersReader
and the main interface (similar toTransactionResults
)Next, implement all methods.
The cache will be used concurrently, however, data will be written once and immutable. We can take advantage of this to avoid adding a lock by checking if data was written before reading/writing.
The value for
FirstHeight
should be passed in during construction, and the value forLatestHeight
should be passed in during the call toStore
.The text was updated successfully, but these errors were encountered: