mirror of
https://github.com/codex-storage/codex-research.git
synced 2025-02-10 17:46:21 +00:00
* add block discovery simulator * add analysis document for simpler cases of block discovery
14 lines
262 B
R
14 lines
262 B
R
Node <- R6Class(
|
|
'Node',
|
|
public = list(
|
|
node_id = NULL,
|
|
storage = NULL,
|
|
|
|
initialize = function(node_id, storage) {
|
|
self$node_id = node_id
|
|
self$storage = storage
|
|
},
|
|
|
|
name = function() paste0('node ', self$node_id)
|
|
)
|
|
) |