Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set timestamp of genesis at future time. #215

Closed
kaikai1024 opened this issue Jan 30, 2019 · 1 comment
Closed

Set timestamp of genesis at future time. #215

kaikai1024 opened this issue Jan 30, 2019 · 1 comment
Labels
bug Something isn't working p:should-have Important but not necessary for current development

Comments

@kaikai1024
Copy link
Contributor

kaikai1024 commented Jan 30, 2019

Set timestamp of genesis at future time.

Description

The args timestamp in create_cita_config not work.

Steps to Reproduce

NOW TIME: 2019/3/14 15:27:36

Future Time:
PK TIME: 2019/3/14 15:40:00
UNIX TIMESTAMP: 1552549200000

Initial chain with future time

sudo ./env.sh ./scripts/create_cita_config.py create --super_admin "0x4b5ae4567ad5d9fb92bc9afd6a657e6fa13a2523" --nodes "127.0.0.1:4000" --timestamp 1552549200000

setup and start node immediately(Before Future Time)

Expected behavior:

No block created before Future Time.

Actual behavior:

Block created once node started.

Reproduce how often:
everytime

Versions

develop

Additional Information

------------------Chinese-------------------

Create 配置:指定创世块时间戳,--timestamp 取未来时间时,未到达未来时间也一直出块

timestamp

@kaikai1024 kaikai1024 added bug Something isn't working more description TBD labels Jan 30, 2019
@kaikai1024 kaikai1024 added this to the v0.22 milestone Feb 19, 2019
@kaikai1024 kaikai1024 removed this from the v0.22.0 milestone Mar 5, 2019
@kaikai1024 kaikai1024 added the p:should-have Important but not necessary for current development label Mar 8, 2019
@boundless-forest boundless-forest self-assigned this Mar 12, 2019
@kaikai1024
Copy link
Contributor Author

citahub/cita-bft#98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p:should-have Important but not necessary for current development
Projects
None yet
Development

No branches or pull requests

3 participants