FISCO BCOS 1.3 中文文档--config /mydata/node0/config.json 验证可共识 查看日志,查看打包信息 tail -f /mydata/node0/log/* |grep +++ 等待一段时间,可看到周期性的出现如下日志,表示节点间在周期性的进行共 识,节点运行正确 INFO|2018-08-10 14:53:33:083|+++++++++++++++++++++++++++ Generating nodeid | |-- node.param | |-- node.private | |-- node.pubkey | `-- node.serial #节点证书序列号 |-- keystore |-- fisco-bcos.log #节点启动日志 `-- log #节点运行日志目录 其中,按类型归类: 配置文件:genesis.json、config 78be2f 7b302c9d15842110b3db6239da2aa98ddf68e512b452df748d3d3e4c1cd"] } 字段说明 配置项 说明 timestamp 创世块时间戳(毫秒) god 内置链管理员账号地址(填入2.2 生成god账号 小节 中生成的地址) alloc 内置合约数据 initMinerNodes 创世块节点NodeId(填入20 码力 | 491 页 | 5.72 MB | 1 年前3
百度超级链 XuperChain 3.12-a中文文档基于交易数据摘要,会包含交易输入输出、合约调用、合约 读写集、发起人和背书人信息等,并将交易数据序列化后的字节数组使 用双重SHA256得到摘要数据,最后对摘要数据用ECDSA或其他数字签 名算法产生交易签名。 块签名:基于区块数据摘要,会包含区块元信息如前序块Hash值、交易 Merkle树根、打包时间、出块节点等数据,并在序列化后使用双重 SHA256得到摘要数据,最后对摘要数据用ECDSA或其他数字签名算法 } enum SubscribeType { // 区块事件,payload为BlockFilter BLOCK = 0; } 请求里的filter用来设置事件过滤参数,是一段序列化的proto对象,因为订阅 不同内容需要的参数不尽相同 BLOCK 事件的过滤参数如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 message 十MB(甚至更多),为避免存储空间浪费、以及保证区块链交易的效率,我 们可以使用哈希算法(例如SHA256)只将图片的哈希值上链,而原图可以保 存在其他地方 我们可以这样定义“证据文件”的数据结构,包含哈希值和上传的时间戳 1 2 3 4 type UserFile struct { Timestamp int64 Hashval []byte } 为了能够存储多个“证据文件”,并且能够服务于更多的摄影师朋友,我们可0 码力 | 336 页 | 12.62 MB | 1 年前3
百度超级链 XuperChain 3.12-c 中文文档基于交易数据摘要,会包含交易输入输出、合约调用、合约 读写集、发起人和背书人信息等,并将交易数据序列化后的字节数组使 用双重SHA256得到摘要数据,最后对摘要数据用ECDSA或其他数字签 名算法产生交易签名。 块签名:基于区块数据摘要,会包含区块元信息如前序块Hash值、交易 Merkle树根、打包时间、出块节点等数据,并在序列化后使用双重 SHA256得到摘要数据,最后对摘要数据用ECDSA或其他数字签名算法 } enum SubscribeType { // 区块事件,payload为BlockFilter BLOCK = 0; } 请求里的filter用来设置事件过滤参数,是一段序列化的proto对象,因为订阅 不同内容需要的参数不尽相同 BLOCK 事件的过滤参数如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 message 十MB(甚至更多),为避免存储空间浪费、以及保证区块链交易的效率,我 们可以使用哈希算法(例如SHA256)只将图片的哈希值上链,而原图可以保 存在其他地方 我们可以这样定义“证据文件”的数据结构,包含哈希值和上传的时间戳 1 2 3 4 type UserFile struct { Timestamp int64 Hashval []byte } 为了能够存储多个“证据文件”,并且能够服务于更多的摄影师朋友,我们可0 码力 | 336 页 | 12.62 MB | 1 年前3
百度超级链 XuperChain 3.12 中文文档基于交易数据摘要,会包含交易输入输出、合约调用、合约 读写集、发起人和背书人信息等,并将交易数据序列化后的字节数组使 用双重SHA256得到摘要数据,最后对摘要数据用ECDSA或其他数字签 名算法产生交易签名。 块签名:基于区块数据摘要,会包含区块元信息如前序块Hash值、交易 Merkle树根、打包时间、出块节点等数据,并在序列化后使用双重 SHA256得到摘要数据,最后对摘要数据用ECDSA或其他数字签名算法 } enum SubscribeType { // 区块事件,payload为BlockFilter BLOCK = 0; } 请求里的filter用来设置事件过滤参数,是一段序列化的proto对象,因为订阅 不同内容需要的参数不尽相同 BLOCK 事件的过滤参数如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 message 十MB(甚至更多),为避免存储空间浪费、以及保证区块链交易的效率,我 们可以使用哈希算法(例如SHA256)只将图片的哈希值上链,而原图可以保 存在其他地方 我们可以这样定义“证据文件”的数据结构,包含哈希值和上传的时间戳 1 2 3 4 type UserFile struct { Timestamp int64 Hashval []byte } 为了能够存储多个“证据文件”,并且能够服务于更多的摄影师朋友,我们可0 码力 | 336 页 | 12.62 MB | 1 年前3
百度超级链 XuperChain 3.12-b 中文文档基于交易数据摘要,会包含交易输入输出、合约调用、合约 读写集、发起人和背书人信息等,并将交易数据序列化后的字节数组使 用双重SHA256得到摘要数据,最后对摘要数据用ECDSA或其他数字签 名算法产生交易签名。 块签名:基于区块数据摘要,会包含区块元信息如前序块Hash值、交易 Merkle树根、打包时间、出块节点等数据,并在序列化后使用双重 SHA256得到摘要数据,最后对摘要数据用ECDSA或其他数字签名算法 } enum SubscribeType { // 区块事件,payload为BlockFilter BLOCK = 0; } 请求里的filter用来设置事件过滤参数,是一段序列化的proto对象,因为订阅 不同内容需要的参数不尽相同 BLOCK 事件的过滤参数如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 message 十MB(甚至更多),为避免存储空间浪费、以及保证区块链交易的效率,我 们可以使用哈希算法(例如SHA256)只将图片的哈希值上链,而原图可以保 存在其他地方 我们可以这样定义“证据文件”的数据结构,包含哈希值和上传的时间戳 1 2 3 4 type UserFile struct { Timestamp int64 Hashval []byte } 为了能够存储多个“证据文件”,并且能够服务于更多的摄影师朋友,我们可0 码力 | 336 页 | 12.62 MB | 1 年前3
百度超级链 XuperChain stable 中文文档blockchain 27 // 区块所在高度 28 int64 height = 9; 29 // Timestamp of the block 30 // 打包区块的时间戳 31 int64 timestamp = 10; 32 // Transactions of the block, only txid stored on kv, the detail 21 // 随机数 22 string nonce = 8; 23 // Timestamp to launch the transaction 24 // 发起交易的时间戳 25 int64 timestamp = 9; 26 // tx format version; tx格式版本号 27 int32 version = 10; 28 initiator_signs = 28; 44 // 收集到的签名 45 repeated SignatureInfo auth_require_signs = 29; 46 // 节点收到tx的时间戳,不参与签名 47 int64 received_timestamp = 30; 48 // 统一签名(支持多重签名/环签名等,与 initiator_signs/auth_require_signs不同时使用)0 码力 | 325 页 | 26.31 MB | 1 年前3
百度超级链 XuperChain latest 中文文档height of the blockchain // 区块所在高度 int64 height = 9; // Timestamp of the block // 打包区块的时间戳 int64 timestamp = 10; // Transactions of the block, only txid stored on kv, the detail information replay attacks // 随机数 string nonce = 8; // Timestamp to launch the transaction // 发起交易的时间戳 int64 timestamp = 9; // tx format version; tx格式版本号 int32 version = 10; // auto generated initiator_signs = 28; // 收集到的签名 repeated SignatureInfo auth_require_signs = 29; // 节点收到tx的时间戳,不参与签名 int64 received_timestamp = 30; // 统一签名(支持多重签名/环签名等,与 initiator_signs/auth_require_signs不同时使用)0 码力 | 316 页 | 24.51 MB | 1 年前3
百度超级链 XuperChain 3.9-e 中文文档height of the blockchain // 区块所在高度 int64 height = 9; // Timestamp of the block // 打包区块的时间戳 int64 timestamp = 10; // Transactions of the block, only txid stored on kv, the detail information replay attacks // 随机数 string nonce = 8; // Timestamp to launch the transaction // 发起交易的时间戳 int64 timestamp = 9; // tx format version; tx格式版本号 int32 version = 10; // auto generated initiator_signs = 28; // 收集到的签名 repeated SignatureInfo auth_require_signs = 29; // 节点收到tx的时间戳,不参与签名 int64 received_timestamp = 30; // 统一签名(支持多重签名/环签名等,与 initiator_signs/auth_require_signs不同时使用)0 码力 | 317 页 | 27.80 MB | 1 年前3
百度超级链 XuperChain master 中文文档height of the blockchain // 区块所在高度 int64 height = 9; // Timestamp of the block // 打包区块的时间戳 int64 timestamp = 10; // Transactions of the block, only txid stored on kv, the detail information replay attacks // 随机数 string nonce = 8; // Timestamp to launch the transaction // 发起交易的时间戳 int64 timestamp = 9; // tx format version; tx格式版本号 int32 version = 10; // auto generated initiator_signs = 28; // 收集到的签名 repeated SignatureInfo auth_require_signs = 29; // 节点收到tx的时间戳,不参与签名 int64 received_timestamp = 30; // 统一签名(支持多重签名/环签名等,与 initiator_signs/auth_require_signs不同时使用)0 码力 | 316 页 | 24.51 MB | 1 年前3
百度超级链 XuperChain 3.8 中文文档height of the blockchain // 区块所在高度 int64 height = 9; // Timestamp of the block // 打包区块的时间戳 int64 timestamp = 10; // Transactions of the block, only txid stored on kv, the detail information replay attacks // 随机数 string nonce = 8; // Timestamp to launch the transaction // 发起交易的时间戳 int64 timestamp = 9; // tx format version; tx格式版本号 int32 version = 10; // auto generated initiator_signs = 28; // 收集到的签名 repeated SignatureInfo auth_require_signs = 29; // 节点收到tx的时间戳,不参与签名 int64 received_timestamp = 30; // 统一签名(支持多重签名/环签名等,与 initiator_signs/auth_require_signs不同时使用)0 码力 | 316 页 | 27.93 MB | 1 年前3
共 48 条
- 1
- 2
- 3
- 4
- 5













