Luk
|
5d23f2efa1
|
ignore *nogit* and *nosf*
|
2024-09-22 15:50:40 +08:00 |
|
Luk
|
d8e35affca
|
improve gitignore and seafile-ignore
|
2024-04-24 14:17:29 +08:00 |
|
Luk
|
19c233e473
|
updated .gitignore and seafile-ignore.txt using npm/sysconfig/*-ignore-find2merge.sh
|
2024-01-28 12:16:46 +08:00 |
|
|
eceafbb5f6
|
update seafile-ignore.txt
|
2023-09-12 14:20:49 +08:00 |
|
|
5246988a6f
|
update .gitignore to ignore *.gitignore.* instead of envar-*.gitignore.js
|
2023-03-11 08:27:22 +08:00 |
|
|
7f81d65a6d
|
'add seafile-ignore.txt to every git repo'
|
2023-01-12 20:10:06 +08:00 |
|
|
51df83f884
|
update to standard .gitignore
|
2022-12-10 19:12:17 +08:00 |
|
|
874f18ee25
|
update [.gitignore] to ignore /unpackage/* except for !/unpackage/res/
|
2022-10-06 20:06:10 +08:00 |
|
|
9a4978f6fd
|
use standard [.gitignore] file
|
2022-08-20 10:24:59 +08:00 |
|
|
e9542cb32c
|
rename is_chain_address to which_chain_address
|
2022-08-16 15:30:35 +08:00 |
|
|
76deb199a5
|
rename seckey to prikey
|
2022-08-14 15:51:24 +08:00 |
|
|
8cf67bf90c
|
rename ticc.sign/verify/encrypt/decrypt/hash to ticc.xxx_easy
|
2022-07-23 16:03:24 +08:00 |
|
|
f70b97cbb2
|
u
|
2022-07-03 16:02:58 +08:00 |
|
|
e3920911b0
|
u
|
2022-06-05 11:30:32 +08:00 |
|
|
cfad03864a
|
添加 getTypedAction和createTypedAction方法,为了修正错误:node.server的强化版的BlockPot.js执行action.executeMe()失败,因为Action.getBatchAction()进行了JSON.stringify;注释掉 wo.Netnode.broadcast 因为报错说不存在。
|
2020-02-28 17:09:26 +08:00 |
|
|
9099da4ab9
|
上个commit不够对,actorAddress 是在 packMe 中被赋值的,不需要提前检测。
|
2020-02-28 12:24:35 +08:00 |
|
|
61318e8940
|
ActionTransfer: 必须检查发起人地址和公钥是匹配的,否则客户端能够造假
|
2020-02-27 20:02:35 +08:00 |
|
|
bbb573c3a8
|
u
|
2020-02-27 19:26:00 +08:00 |
|
|
8769cd3abc
|
增加 _initTypes 方法和 TypedActionList,来插入子类型。
|
2020-02-27 18:49:26 +08:00 |
|
|
e6ae650f7a
|
去掉 Action.js 里对 ActionXxx 的引入,这样还是会造成循环引入的。
|
2020-02-27 16:08:11 +08:00 |
|
|
be8fe145a5
|
刷新 package.json 里的库
|
2020-02-27 15:29:28 +08:00 |
|
|
a2c7592847
|
不在 index.js 里引入 Action.js,避免循环引入。
|
2020-02-27 15:27:04 +08:00 |
|
|
e59f2d92f5
|
add 'async' to checkMultiSig
|
2020-02-21 15:44:14 +08:00 |
|
|
c9f04b24eb
|
随着 tic.crypto 升级到 secp256k1 的公私钥和签名,把 signMe, packMe, verifySig 改成 async 的
|
2020-02-20 18:53:00 +08:00 |
|
|
4e2a4b35db
|
DAD._table 改为 MOM._table
|
2020-02-10 16:04:07 +08:00 |
|
|
2e1bbe2904
|
更新 'README.md'
|
2019-08-27 07:31:32 +00:00 |
|
|
75d8fcb260
|
整理 GIT 项目库导航 结构
|
2019-08-26 15:19:09 +08:00 |
|
|
a3c5cc2dd9
|
update packages to 20190714_release_passtoken
|
2019-07-14 11:46:19 +08:00 |
|
|
f41338f95f
|
[package.json] so.ling 指向 20190701_release_initDb
|
2019-07-01 20:11:44 +08:00 |
|
|
2055080854
|
Merge branch 'luk.lu_initDatabaseFromOutside' of tic/tic.action into master
|
2019-07-01 12:09:47 +00:00 |
|
|
f7632ce6c1
|
[package.json] so.ling指向 #luk.lu_initDatabaseFromOutside
|
2019-06-17 11:23:47 +08:00 |
|
|
7408ed43cc
|
文档改进:latest_stable => RELEASE_OR_BRANCH
|
2019-06-17 11:21:23 +08:00 |
|
|
ca15dc3eeb
|
改进文档。
|
2019-05-18 16:38:13 +08:00 |
|
|
c0f03840e0
|
改进文档。
|
2019-05-18 11:49:13 +08:00 |
|
|
2e591f6bb0
|
[README.md] 添加说明文档。
|
2019-05-18 10:57:38 +08:00 |
|
|
57df61a2b3
|
更新绑定到 so.ling#20190427_fon2so
|
2019-04-27 10:00:30 +08:00 |
|
|
6465159122
|
迁移 fon/fon.xxx 库到 so/so.xxx
|
2019-04-22 00:57:02 +08:00 |
|
|
f527f942b6
|
把会在 require('Action.js') 时就执行的 wo.Netnode.on('broadcast', DAD.api.prepare) 删除(迁移到 node.server/server.js 里),解除 Action 对 wo.Netnode 的依赖,否则前端引入 Action 也需要依赖后台的网络而无法启动。
|
2019-04-18 11:48:38 +08:00 |
|
|
48b1cb4bd6
|
Rename wo.NodeNet to wo.Netnode
|
2019-04-13 14:15:52 +08:00 |
|
|
a733f000d5
|
删除多余代码,这个测试已经在上一层 if (...) 里出现过了。
|
2019-04-13 13:46:09 +08:00 |
|
|
64f095304b
|
Merge branch 'master' of https://git.faronear.org/tic/tic.action
# Conflicts:
# Action.js
|
2019-04-13 13:41:09 +08:00 |
|
luk.lu
|
a289a4b2ad
|
1. 把 validateMe 分解成 静态数据检查(给客户端调用)validateMe 和 动态可执行性检查(给链节点调用)executableMe.
2. 在 Action.api.prepare() 里,生成可运行的对象 typedAction 存入 ActionPool,而不是仅仅存数据 option.Action进去。
3. 删除 Action.getJson(),把 DAD.verifyXxx(action) 都改为 MOM.verifyXxx().
4. 添加了 ActionRegisterChain.js 作为 应用链注册事务。
|
2019-04-13 13:37:38 +08:00 |
|
luk.lu
|
3cf673af6f
|
action.packMe(keypair)调用有个无关紧要的小错:输入参数是 {seckey, pubkey} 即可,不需要传入 address,因为 address 是 packMe 内部自己根据 pubkey 生成的。
|
2019-04-11 15:59:26 +08:00 |
|
luk.lu
|
044c2175d6
|
纠错:完善 index.js 返回所有 ActionXxx 子类
|
2019-04-09 20:34:13 +08:00 |
|
luk.lu
|
4fe26a0b09
|
采用新结构:Action*.js 从 node.server 中删除,集中存放于本库。
这样消除了同一份代码出现在两处的不良结构,避免了同步的困难。
当 node.server 需要临时修改 ActionXxx.js 时,只要在 server.js 里临时 require('../tic.action').ActionXxx 即可。一处修改,到处可用。
|
2019-04-09 20:16:58 +08:00 |
|
luk.lu
|
e2a0738a80
|
把 this._class = 'ActionTransfer' 改为 this._class = this.constructor.name,这才是标准写法,不知道为何ActionTranfer用了字符串。
|
2019-04-09 09:25:58 +08:00 |
|
luk.lu
|
73ca4df3db
|
重命名 ActTransfer 为 ActionTransfer;
删除 ling 目录,把 Action*.js 迁移到上级根目录。
|
2019-04-09 09:06:33 +08:00 |
|
luk.lu
|
c18b412c1b
|
[Action.js] prepare方法里的wo.Peer 改为 wo.Node。但这其实不影响使用,因为 prepare 方法只在 node.server 里被调用,而在前端只用到 sign, hash 等方法。
|
2019-02-18 13:36:26 +08:00 |
|
luk.lu
|
2a6607669a
|
升级库版本到 #20190109_preview 供测试
|
2019-01-09 14:07:44 +08:00 |
|
luk.lu
|
1fd50f0294
|
升级到目前最新的 node.server/modules/Action/*.js,其中重要的是,把 var Ling = wo&&wo.Ling?wo.Ling:require('fon.ling') 改成 var Ling = require('fon.ling')。原来的写法有 bug! 钱包前端引用了 tic.tool4chain 再引用了 tic.action,在浏览器里报错 "wo 不存在"。
|
2019-01-09 13:57:00 +08:00 |
|