Browse Source

Modify license files, readme files, and other configurations, and generate 0.8.3.RELEASE versions

tags/1.0.0
shaozhuguang 5 years ago
parent
commit
897ee6935a
62 changed files with 281 additions and 87 deletions
  1. +189
    -1
      LICENSE
  2. +5
    -1
      README.md
  3. +1
    -1
      source/base/pom.xml
  4. +1
    -1
      source/binary-proto/pom.xml
  5. +1
    -1
      source/consensus/consensus-bftsmart/pom.xml
  6. +1
    -1
      source/consensus/consensus-framework/pom.xml
  7. +1
    -1
      source/consensus/consensus-mq/pom.xml
  8. +1
    -1
      source/consensus/pom.xml
  9. +1
    -1
      source/contract/contract-framework/pom.xml
  10. +1
    -1
      source/contract/contract-jvm/pom.xml
  11. +2
    -2
      source/contract/contract-maven-plugin/pom.xml
  12. +1
    -1
      source/contract/contract-model/pom.xml
  13. +1
    -1
      source/contract/pom.xml
  14. +1
    -1
      source/crypto/crypto-adv/pom.xml
  15. +1
    -1
      source/crypto/crypto-framework/pom.xml
  16. +1
    -1
      source/crypto/pom.xml
  17. +1
    -1
      source/deployment/deployment-gateway/pom.xml
  18. +10
    -8
      source/deployment/deployment-gateway/src/main/resources/config/gateway.conf
  19. +1
    -1
      source/deployment/deployment-gateway/src/main/resources/scripts/startup.sh
  20. +1
    -1
      source/deployment/deployment-peer/pom.xml
  21. +4
    -4
      source/deployment/deployment-peer/src/main/resources/config/init/bftsmart.config
  22. +9
    -9
      source/deployment/deployment-peer/src/main/resources/config/init/ledger-init.conf
  23. +6
    -6
      source/deployment/deployment-peer/src/main/resources/config/init/local.conf
  24. +1
    -1
      source/deployment/deployment-peer/src/main/resources/scripts/startup.sh
  25. +1
    -1
      source/deployment/pom.xml
  26. +1
    -1
      source/gateway/pom.xml
  27. +1
    -1
      source/ledger/ledger-core/pom.xml
  28. +1
    -1
      source/ledger/ledger-model/pom.xml
  29. +1
    -1
      source/ledger/pom.xml
  30. +1
    -1
      source/peer/pom.xml
  31. +1
    -1
      source/pom.xml
  32. +1
    -1
      source/runtime/pom.xml
  33. +1
    -1
      source/runtime/runtime-context/pom.xml
  34. +1
    -1
      source/runtime/runtime-modular-booter/pom.xml
  35. +1
    -1
      source/runtime/runtime-modular/pom.xml
  36. +1
    -1
      source/sdk/pom.xml
  37. +1
    -1
      source/sdk/sdk-base/pom.xml
  38. +1
    -1
      source/sdk/sdk-client/pom.xml
  39. +1
    -1
      source/sdk/sdk-samples/pom.xml
  40. +1
    -1
      source/storage/pom.xml
  41. +1
    -1
      source/storage/storage-composite/pom.xml
  42. +1
    -1
      source/storage/storage-redis/pom.xml
  43. +1
    -1
      source/storage/storage-rocksdb/pom.xml
  44. +1
    -1
      source/storage/storage-service/pom.xml
  45. +1
    -1
      source/test/pom.xml
  46. +1
    -1
      source/test/test-consensus-client/pom.xml
  47. +2
    -2
      source/test/test-consensus-node/pom.xml
  48. +1
    -1
      source/test/test-integration/pom.xml
  49. +1
    -1
      source/test/test-ledger-core/pom.xml
  50. +1
    -1
      source/tools/pom.xml
  51. +1
    -1
      source/tools/tools-capability/pom.xml
  52. +1
    -1
      source/tools/tools-initializer-booter/pom.xml
  53. +1
    -1
      source/tools/tools-initializer/pom.xml
  54. +1
    -1
      source/tools/tools-keygen-booter/pom.xml
  55. +1
    -1
      source/tools/tools-keygen/pom.xml
  56. +1
    -1
      source/utils/pom.xml
  57. +1
    -1
      source/utils/utils-common/pom.xml
  58. +1
    -1
      source/utils/utils-http/pom.xml
  59. +1
    -1
      source/utils/utils-serialize/pom.xml
  60. +1
    -1
      source/utils/utils-test/pom.xml
  61. +1
    -1
      source/utils/utils-web-server/pom.xml
  62. +1
    -1
      source/utils/utils-web/pom.xml

+ 189
- 1
LICENSE View File

@@ -1,10 +1,198 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2019 Jingdong Digits Technology Holding Co., Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,


+ 5
- 1
README.md View File

@@ -1,5 +1,9 @@
[TOC]
#JD区块链 0.8.3-SNAPSHOT
#JD区块链


[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)


------------------------------------------------------------------------
### 版本修订历史


+ 1
- 1
source/base/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>base</artifactId>
</project>

+ 1
- 1
source/binary-proto/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>binary-proto</artifactId>



+ 1
- 1
source/consensus/consensus-bftsmart/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>consensus</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>consensus-bftsmart</artifactId>



+ 1
- 1
source/consensus/consensus-framework/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>consensus</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>consensus-framework</artifactId>



+ 1
- 1
source/consensus/consensus-mq/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>consensus</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>consensus-mq</artifactId>



+ 1
- 1
source/consensus/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>consensus</artifactId>
<packaging>pom</packaging>


+ 1
- 1
source/contract/contract-framework/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>contract</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>contract-framework</artifactId>



+ 1
- 1
source/contract/contract-jvm/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>contract</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>contract-jvm</artifactId>



+ 2
- 2
source/contract/contract-maven-plugin/pom.xml View File

@@ -5,17 +5,17 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>contract</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>contract-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>

<properties>
<contract.version>${parent.version}</contract.version>
<utils.version>${parent.version}</utils.version>
<junit.version>4.12</junit.version>
</properties>

<version>0.8.2.RELEASE</version>
<dependencies>
<dependency>
<groupId>junit</groupId>


+ 1
- 1
source/contract/contract-model/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>contract</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>contract-model</artifactId>



+ 1
- 1
source/contract/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>contract</artifactId>
<packaging>pom</packaging>


+ 1
- 1
source/crypto/crypto-adv/pom.xml View File

@@ -3,7 +3,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>crypto</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>crypto-adv</artifactId>



+ 1
- 1
source/crypto/crypto-framework/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>crypto</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>crypto-framework</artifactId>



+ 1
- 1
source/crypto/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>crypto</artifactId>
<packaging>pom</packaging>


+ 1
- 1
source/deployment/deployment-gateway/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>deployment</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>deployment-gateway</artifactId>



+ 10
- 8
source/deployment/deployment-gateway/src/main/resources/config/gateway.conf View File

@@ -1,28 +1,30 @@
#网关的HTTP服务地址;
http.host=127.0.0.1
http.host=0.0.0.0
#网关的HTTP服务端口;
http.port=8081
#网关的HTTP服务上下文路径,可选;
#http.context-path=

#共识节点的服务地址;
#共识节点的服务地址(与该网关节点连接的Peer节点的IP地址)
peer.host=127.0.0.1
#共识节点的服务端口;
#共识节点的服务端口(与该网关节点连接的Peer节点的端口)
peer.port=7080
#共识节点的服务是否启用安全证书;
peer.secure=false
#共识节点的服务提供解析器
#BftSmart共识Provider:com.jd.blockchain.consensus.bftsmart.BftsmartConsensusProvider
#简单消息共识Provider:com.jd.blockchain.consensus.mq.MsgQueueConsensusProvider
peer.providers=com.jd.blockchain.consensus.bftsmart.BftsmartConsensusProvider

#数据检索服务对应URL
#数据检索服务对应URL,格式:http://{ip}:{port},例如:http://127.0.0.1:10001
#若该值不配置或配置不正确,则浏览器模糊查询部分无法正常显示
data.retrieval.url=http://192.168.1.1:10001
data.retrieval.url=http://127.0.0.1:10001

#默认公钥的内容(Base58编码数据);
keys.default.pubkey=endPsK36koyFr1D245Sa9j83vt6pZUdFBJoJRB3xAsWM6cwhRbna
keys.default.pubkey=
#默认私钥的路径;在 pk-path 和 pk 之间必须设置其一;
keys.default.privkey-path=
#默认私钥的内容(加密的Base58编码数据);在 pk-path 和 pk 之间必须设置其一;
keys.default.privkey=177gjsj5PHeCpbAtJE7qnbmhuZMHAEKuMsd45zHkv8F8AWBvTBbff8yRKdCyT3kwrmAjSnY
keys.default.privkey=
#默认私钥的解码密码;
keys.default.privkey-password=DYu3G8aGTMBW1WrTw76zxQJQU4DHLw9MLyy7peG4LKkY
keys.default.privkey-password=

+ 1
- 1
source/deployment/deployment-gateway/src/main/resources/scripts/startup.sh View File

@@ -5,5 +5,5 @@ GATEWAY=$(ls $HOME/lib | grep deployment-gateway-)
if [ ! -n "$GATEWAY" ]; then
echo "GateWay Is Null !!!"
else
nohup java -jar -server $HOME/lib/$GATEWAY -c $HOME/config/gateway.conf -sp $HOME/config/application.properties $* > gw.out 2>&1 &
nohup java -jar -server $HOME/lib/$GATEWAY -c $HOME/config/gateway.conf $* > gw.out 2>&1 &
fi

+ 1
- 1
source/deployment/deployment-peer/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>deployment</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>deployment-peer</artifactId>



+ 4
- 4
source/deployment/deployment-peer/src/main/resources/config/init/bftsmart.config View File

@@ -28,7 +28,7 @@ system.block.maxdelay=500
###### #Consensus Participant0 ######
############################################

system.server.0.pubkey=endPsK36koyFr1D245Sa9j83vt6pZUdFBJoJRB3xAsWM6cwhRbna
system.server.0.pubkey=
system.server.0.network.host=127.0.0.1
system.server.0.network.port=16000
system.server.0.network.secure=false
@@ -37,7 +37,7 @@ system.server.0.network.secure=false
###### #Consensus Participant1 ######
############################################

system.server.1.pubkey=endPsK36sC5JdPCDPDAXUwZtS3sxEmqEhFcC4whayAsTTh8Z6eoZ
system.server.1.pubkey=
system.server.1.network.host=127.0.0.1
system.server.1.network.port=16010
system.server.1.network.secure=false
@@ -46,7 +46,7 @@ system.server.1.network.secure=false
###### #Consensus Participant2 ######
############################################

system.server.2.pubkey=endPsK36jEG281HMHeh6oSqzqLkT95DTnCM6REDURjdb2c67uR3R
system.server.2.pubkey=
system.server.2.network.host=127.0.0.1
system.server.2.network.port=16020
system.server.2.network.secure=false
@@ -55,7 +55,7 @@ system.server.2.network.secure=false
###### #Consensus Participant3 ######
############################################

system.server.3.pubkey=endPsK36nse1dck4uF19zPvAMijCV336Y3zWdgb4rQG8QoRj5ktR
system.server.3.pubkey=
system.server.3.network.host=127.0.0.1
system.server.3.network.port=16030
system.server.3.network.secure=false


+ 9
- 9
source/deployment/deployment-peer/src/main/resources/config/init/ledger-init.conf View File

@@ -8,12 +8,12 @@ ledger.seed=932dfe23-fe23232f-283f32fa-dd32aa76-8322ca2f-56236cda-7136b322-cb323
cons_parti.count=4


#第0个参与方的名称
cons_parti.0.name=xx-0.com
#第0个参与方的名称(不同参与方名称不能相同)
cons_parti.0.name=
#第0个参与方的公钥文件路径
cons_parti.0.pubkey-path=
#第0个参与方的公钥内容(由keygen工具生成),此参数优先于 pubkey-path 参数
cons_parti.0.pubkey=endPsK36koyFr1D245Sa9j83vt6pZUdFBJoJRB3xAsWM6cwhRbna
cons_parti.0.pubkey=
#第0个参与方的账本初始服务的主机
cons_parti.0.initializer.host=127.0.0.1
#第0个参与方的账本初始服务的端口
@@ -23,11 +23,11 @@ cons_parti.0.initializer.secure=false


#第1个参与方的名称
cons_parti.1.name=xx-1.com
cons_parti.1.name=
#第1个参与方的公钥文件路径
cons_parti.1.pubkey-path=
#第1个参与方的公钥内容(由keygen工具生成),此参数优先于 pubkey-path 参数
cons_parti.1.pubkey=endPsK36sC5JdPCDPDAXUwZtS3sxEmqEhFcC4whayAsTTh8Z6eoZ
cons_parti.1.pubkey=
#第1个参与方的账本初始服务的主机
cons_parti.1.initializer.host=127.0.0.1
#第1个参与方的账本初始服务的端口
@@ -37,11 +37,11 @@ cons_parti.1.initializer.secure=false


#第2个参与方的名称
cons_parti.2.name=xx-2.com
cons_parti.2.name=
#第2个参与方的公钥文件路径
cons_parti.2.pubkey-path=
#第2个参与方的公钥内容(由keygen工具生成),此参数优先于 pubkey-path 参数
cons_parti.2.pubkey=endPsK36jEG281HMHeh6oSqzqLkT95DTnCM6REDURjdb2c67uR3R
cons_parti.2.pubkey=
#第2个参与方的账本初始服务的主机
cons_parti.2.initializer.host=127.0.0.1
#第2个参与方的账本初始服务的端口
@@ -51,11 +51,11 @@ cons_parti.2.initializer.secure=false


#第3个参与方的名称
cons_parti.3.name=xx-3.com
cons_parti.3.name=
#第3个参与方的公钥文件路径
cons_parti.3.pubkey-path=
#第3个参与方的公钥内容(由keygen工具生成),此参数优先于 pubkey-path 参数
cons_parti.3.pubkey=endPsK36nse1dck4uF19zPvAMijCV336Y3zWdgb4rQG8QoRj5ktR
cons_parti.3.pubkey=
#第3个参与方的账本初始服务的主机
cons_parti.3.initializer.host=127.0.0.1
#第3个参与方的账本初始服务的端口


+ 6
- 6
source/deployment/deployment-peer/src/main/resources/config/init/local.conf View File

@@ -2,22 +2,22 @@
local.parti.id=0

#当前参与方的公钥
local.parti.pubkey=endPsK36koyFr1D245Sa9j83vt6pZUdFBJoJRB3xAsWM6cwhRbna
local.parti.pubkey=

#当前参与方的私钥(密文编码)
local.parti.privkey=177gjsj5PHeCpbAtJE7qnbmhuZMHAEKuMsd45zHkv8F8AWBvTBbff8yRKdCyT3kwrmAjSnY
local.parti.privkey=

#当前参与方的私钥解密密钥(原始口令的一次哈希,Base58格式),如果不设置,则启动过程中需要从控制台输入
local.parti.pwd=DYu3G8aGTMBW1WrTw76zxQJQU4DHLw9MLyy7peG4LKkY
local.parti.pwd=

#账本初始化完成后生成的"账本绑定配置文件"的输出目录
#推荐使用绝对路径,相对路径以当前文件(local.conf)所在目录为基准
ledger.binding.out=../

#账本数据库的连接字符
#rocksdb数据库连接格式:rocksdb://{path}
#redis数据库连接格式:redis://{ip}:{prot}/{db}
ledger.db.uri=rocksdb:///export/App08/peer/rocks.db/rocksdb0.db
#rocksdb数据库连接格式:rocksdb://{path},例如:rocksdb:///export/App08/peer/rocks.db/rocksdb0.db
#redis数据库连接格式:redis://{ip}:{prot}/{db},例如:redis://127.0.0.1:6379/0
ledger.db.uri=

#账本数据库的连接口令
ledger.db.pwd=


+ 1
- 1
source/deployment/deployment-peer/src/main/resources/scripts/startup.sh View File

@@ -5,5 +5,5 @@ PEER=$(ls $HOME/system | grep deployment-peer-)
if [ ! -n "$PEER" ]; then
echo "Peer Is Null !!!"
else
nohup java -jar -server -Xmx2g -Xms2g $HOME/system/$PEER -home=$HOME -c $HOME/config/init/mq/ledger-binding.conf -p 7080 $* &
nohup java -jar -server -Xmx2g -Xms2g $HOME/system/$PEER -home=$HOME -c $HOME/config/ledger-binding.conf -p 7080 $* &
fi

+ 1
- 1
source/deployment/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>deployment</artifactId>
<packaging>pom</packaging>


+ 1
- 1
source/gateway/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>gateway</artifactId>



+ 1
- 1
source/ledger/ledger-core/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>ledger</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>ledger-core</artifactId>



+ 1
- 1
source/ledger/ledger-model/pom.xml View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>ledger</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>ledger-model</artifactId>


+ 1
- 1
source/ledger/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>ledger</artifactId>
<packaging>pom</packaging>


+ 1
- 1
source/peer/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>peer</artifactId>


+ 1
- 1
source/pom.xml View File

@@ -16,7 +16,7 @@

<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
<packaging>pom</packaging>
<description>jdchain</description>



+ 1
- 1
source/runtime/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>runtime</artifactId>
<packaging>pom</packaging>


+ 1
- 1
source/runtime/runtime-context/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>runtime</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>runtime-context</artifactId>



+ 1
- 1
source/runtime/runtime-modular-booter/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>runtime</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>runtime-modular-booter</artifactId>
</project>

+ 1
- 1
source/runtime/runtime-modular/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>runtime</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>runtime-modular</artifactId>



+ 1
- 1
source/sdk/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>sdk</artifactId>
<packaging>pom</packaging>


+ 1
- 1
source/sdk/sdk-base/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>sdk</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>sdk-base</artifactId>


+ 1
- 1
source/sdk/sdk-client/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>sdk</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>sdk-client</artifactId>


+ 1
- 1
source/sdk/sdk-samples/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>sdk</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>sdk-samples</artifactId>


+ 1
- 1
source/storage/pom.xml View File

@@ -3,7 +3,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>storage</artifactId>
<packaging>pom</packaging>


+ 1
- 1
source/storage/storage-composite/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>storage</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>storage-composite</artifactId>



+ 1
- 1
source/storage/storage-redis/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>storage</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>storage-redis</artifactId>


+ 1
- 1
source/storage/storage-rocksdb/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>storage</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>storage-rocksdb</artifactId>



+ 1
- 1
source/storage/storage-service/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>storage</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>storage-service</artifactId>


+ 1
- 1
source/test/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>test</artifactId>
<packaging>pom</packaging>


+ 1
- 1
source/test/test-consensus-client/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>test</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>test-consensus-client</artifactId>



+ 2
- 2
source/test/test-consensus-node/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>test</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>test-consensus-node</artifactId>
<dependencies>
@@ -26,7 +26,7 @@
<dependency>
<groupId>com.jd.blockchain</groupId>
<artifactId>consensus-bftsmart</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>


+ 1
- 1
source/test/test-integration/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>test</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>test-integration</artifactId>



+ 1
- 1
source/test/test-ledger-core/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>test</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>test-ledger-core</artifactId>



+ 1
- 1
source/tools/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>tools</artifactId>
<packaging>pom</packaging>


+ 1
- 1
source/tools/tools-capability/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<artifactId>tools</artifactId>
<groupId>com.jd.blockchain</groupId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<modelVersion>4.0.0</modelVersion>



+ 1
- 1
source/tools/tools-initializer-booter/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>tools</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>tools-initializer-booter</artifactId>



+ 1
- 1
source/tools/tools-initializer/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>tools</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>tools-initializer</artifactId>



+ 1
- 1
source/tools/tools-keygen-booter/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>tools</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>tools-keygen-booter</artifactId>



+ 1
- 1
source/tools/tools-keygen/pom.xml View File

@@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>tools</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>tools-keygen</artifactId>



+ 1
- 1
source/utils/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>utils</artifactId>
<packaging>pom</packaging>


+ 1
- 1
source/utils/utils-common/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>utils</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>utils-common</artifactId>


+ 1
- 1
source/utils/utils-http/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>utils</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<properties>


+ 1
- 1
source/utils/utils-serialize/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>utils</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>utils-serialize</artifactId>


+ 1
- 1
source/utils/utils-test/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>utils</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>utils-test</artifactId>


+ 1
- 1
source/utils/utils-web-server/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>utils</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>utils-web-server</artifactId>


+ 1
- 1
source/utils/utils-web/pom.xml View File

@@ -4,7 +4,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>utils</artifactId>
<version>0.8.2.RELEASE</version>
<version>0.8.3.RELEASE</version>
</parent>
<artifactId>utils-web</artifactId>
<dependencies>


Loading…
Cancel
Save