没有合适的资源?快使用搜索试试~ 我知道了~
demux-js:blockchain针对区块链应用程序的确定性事件源状态和副作用处理
共85个文件
html:35个
ts:19个
js:5个
需积分: 5 0 下载量 149 浏览量
2021-05-02
15:51:17
上传
评论
收藏 3.61MB ZIP 举报
温馨提示
Demux-js Demux是一种后端基础架构模式,用于采购区块链事件来确定性地更新可查询的数据存储并触发副作用。 该库用作与Node应用程序一起使用的该模式的参考实现。 安装 # Using yarn yarn add demux # Using npm npm install demux --save 概述 Demux从模式和灵感中诞生了以下资格: 关注状态在区块链上如何存在与客户端前端如何查询之间的分离 客户端前端不完全负责确定派生,缩减和/或累积状态 区块链事件能够触发新交易以及区块链之外的其他副作用的能力 区块链是所有应用程序状态的唯一真实来源 分离的持久层 出于以下三个原因,将数据以索引状态存储在区块链上可能会很有用:计算结果的去中心化共识,其他区块链计算中状态的使用以及用于客户端前端的状态检索。 在构建更复杂的前端时,直接从索引的区块链状态检索时会遇到一些问题: 用于检
资源推荐
资源详情
资源评论
收起资源包目录
demux-js-develop.zip (85个子文件)
demux-js-develop
.npmrc.template 51B
yarn.lock 238KB
src
interfaces.ts 4KB
JsonActionReader.test.ts 2KB
testHelpers
TestActionHandler.ts 2KB
blockchains.ts 7KB
wait.ts 294B
TestActionReader.ts 1KB
AbstractActionReader.ts 13KB
index.ts 366B
makeQueryablePromise.ts 962B
BaseActionWatcher.test.ts 7KB
errors.ts 3KB
JsonActionReader.ts 1KB
BaseActionWatcher.ts 7KB
ExpressActionWatcher.test.ts 5KB
AbstractActionHandler.test.ts 17KB
ExpressActionWatcher.ts 2KB
AbstractActionReader.test.ts 5KB
AbstractActionHandler.ts 20KB
BunyanProvider.ts 2KB
scripts
build-docs.sh 230B
publish-latest.sh 279B
publish-edge.sh 233B
functions.sh 3KB
run-example.sh 87B
.npmignore 219B
examples
eos-transfers
README.md 519B
index.js 2KB
handlerVersions
v1
index.js 5KB
ObjectActionHandler.js 3KB
package.json 274B
README.md 253B
CONTRIBUTING.md 8KB
.travis.yml 2KB
tsconfig.json 420B
LICENSE 1KB
tslint.json 164B
README.md 9KB
docs
index.html 292KB
classes
jsonactionreader.html 311KB
reloadhistoryerror.html 285KB
duplicatehandlerversionerror.html 285KB
improperstartatblockerror.html 285KB
unresolvedforkerror.html 285KB
missinghandlerversionerror.html 285KB
abstractactionreader.html 326KB
jsonblockdoesnotexist.html 285KB
notinitializederror.html 285KB
baseactionwatcher.html 301KB
expressactionwatcher.html 305KB
jsonblockindicateswrongposition.html 286KB
mismatchedblockhasherror.html 285KB
abstractactionhandler.html 345KB
improperseektoblockerror.html 285KB
assets
images
js
main.js 149KB
search.js 47KB
css
main.css 69KB
main.css.map 30KB
enums
indexingstatus.html 283KB
effectrunmode.html 283KB
interfaces
demuxinfo.html 283KB
blockinfo.html 283KB
jsonactionreaderoptions.html 284KB
actionlistener.html 280KB
action.html 281KB
versionedaction.html 281KB
updater.html 282KB
nextblock.html 282KB
actionreaderoptions.html 282KB
readerinfo.html 284KB
block.html 281KB
effect.html 283KB
handlerinfo.html 282KB
blockmeta.html 282KB
deferredeffects.html 279KB
indexstate.html 284KB
handlerversion.html 282KB
.gitignore 163B
package.json 2KB
.nvmrc 8B
共 85 条
- 1
资源评论
DeepIndaba
- 粉丝: 27
- 资源: 4657
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功