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
{{ message }}
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
Currently file naming is pretty inconsistent within the source directory of the library and it's relatively hard to grasp for newcomers what the code within different files do and how task/responsibility areas are structured.
File/directory structure should be updated - with respect (or at least considering) to API changes which would occur when moving certain files (e.g. src/secure.js). The following is a proposal which came out of discussion within PR #74:
main directory
base.js
checkpoint.js
index.js
secure.js
node.js
proof.js
util directory
async.js
hex.js
nibbles.js
tasks.js (or eventually merge with async.js)
db directory
index.js
scratch.js
readStream directory
index.js
scratch.js
The text was updated successfully, but these errors were encountered:
Note: eventually we can rename DB file and source occurences to Storage or something similar, to better prepare for a future backend exchange possibility.
Currently file naming is pretty inconsistent within the source directory of the library and it's relatively hard to grasp for newcomers what the code within different files do and how task/responsibility areas are structured.
File/directory structure should be updated - with respect (or at least considering) to API changes which would occur when moving certain files (e.g.
src/secure.js
). The following is a proposal which came out of discussion within PR #74:base.js
checkpoint.js
index.js
secure.js
node.js
proof.js
util
directoryasync.js
hex.js
nibbles.js
tasks.js
(or eventually merge withasync.js
)db
directoryindex.js
scratch.js
readStream
directoryindex.js
scratch.js
The text was updated successfully, but these errors were encountered: