OSDN Git Service

bytom/bytom.git
6 years agoAdd rpc token authenticate function (#135)
yahtoo [Mon, 27 Nov 2017 08:45:24 +0000 (16:45 +0800)]
Add rpc token authenticate function (#135)

6 years agoUpdate for hsm_test (#131)
icodezjb [Mon, 27 Nov 2017 02:37:07 +0000 (10:37 +0800)]
Update for hsm_test (#131)

* Update for hsm_test

6 years agoSupport list-transactions (#126)
icodezjb [Fri, 24 Nov 2017 09:33:48 +0000 (17:33 +0800)]
Support list-transactions (#126)

* Support list-transactions

* Update for code review

* add wallet package

* Add delete transactions function

* Update code clean

6 years agoGenesis (#127)
Guanghua Guo [Fri, 24 Nov 2017 05:36:40 +0000 (13:36 +0800)]
Genesis (#127)

* Add genesis block function

* Fix build error

* Run ok

* Add free genesis block

* Add genesis_test.go

* golink

* Update from review

* Formating

* Formating

6 years agomodify about GasRate (#128)
oysheng [Thu, 23 Nov 2017 10:23:20 +0000 (18:23 +0800)]
modify about GasRate (#128)

6 years agoadd ivy compiler (#125)
oysheng [Thu, 23 Nov 2017 02:41:41 +0000 (10:41 +0800)]
add ivy compiler (#125)

6 years agoAdd is-mining and gas-rate (#124)
Liu-Cheng Xu [Wed, 22 Nov 2017 10:40:27 +0000 (18:40 +0800)]
Add is-mining and gas-rate (#124)

* Add is-mining and gas-rate

* Change gasRate to public

6 years agoFix outdated build instruction (#123)
Liu-Cheng Xu [Wed, 22 Nov 2017 09:13:40 +0000 (17:13 +0800)]
Fix outdated build instruction (#123)

6 years agofinish todo: delete old mainchain && snapshot in db (#122)
Paladz [Wed, 22 Nov 2017 07:49:30 +0000 (15:49 +0800)]
finish todo: delete old mainchain && snapshot in db (#122)

6 years agoBvm (#118)
Paladz [Wed, 22 Nov 2017 03:05:43 +0000 (11:05 +0800)]
Bvm (#118)

* add seed

* change the init block seed

* add seedCache model

* fix the algorithm func

* fix the small details

* fix the issue on code review

* fix init seed generate

6 years agoBlock height get block tx cnt by height (#121)
Liu-Cheng Xu [Tue, 21 Nov 2017 10:47:54 +0000 (18:47 +0800)]
Block height get block tx cnt by height (#121)

* Add get-block-transactions-by-height rpc

* Add block-height

* Simplify get-best-block-hash

6 years agoadd access token authentication function to cobra (#117)
yahtoo [Tue, 21 Nov 2017 02:00:04 +0000 (10:00 +0800)]
add access token authentication function to cobra (#117)

* add access token authentication function

* add access token authentication function

6 years agoIncorporate Cobra (#110)
Liu-Cheng Xu [Mon, 20 Nov 2017 08:29:36 +0000 (16:29 +0800)]
Incorporate Cobra (#110)

* Introduce cobra

* Return when error throws

* Add asset related rpc

* A rough sketch

* Add lame getBlockByNumber

* A little refactor

* Return when error occurs

Subcommand               | Y/N
:----                    | :----:
bind-account             | Y!
bind-asset               | Y!
create-account           | Y!
create-key               | Y!
delete-key               | Y
get-best-block-hash      | Y
get-block-header-by-hash | Y
get-block-by-hash        | Y
get-block-by-height      | N
get-block-header-by-hash | Y
list-accounts            | Y
list-assets              | Y
list-keys                | Y!
net-info                 | Y
net-listening            | Y
peer-count               | Y
version                  | Y

Notes:

- Y: stable
- Y!: test needed
- N: not finished

* Add net-syncing

* Use bytom/version

* Fix missing get-block-by-height hook

* Refactor

* Reuse viable struct

* Fix golint warning

6 years agoUnit test (#113)
Guanghua Guo [Mon, 20 Nov 2017 03:07:42 +0000 (11:07 +0800)]
Unit test (#113)

* Correct unit test

* fix clean temp files generated by accesstoken test (#114)

6 years agoadd access token function (#111)
yahtoo [Fri, 17 Nov 2017 07:30:37 +0000 (15:30 +0800)]
add access token function (#111)

* add access token function

* add access token function

* add access token function

6 years agoRefactor accountutxos DB rollback when orphan block rollback (#102)
icodezjb [Fri, 17 Nov 2017 06:19:10 +0000 (14:19 +0800)]
Refactor accountutxos DB rollback when orphan block rollback (#102)

* Refactor accountutxos DB rollback when orphan block rollback

* Update for code review

* Reverse account utxo by deleting instead of deleting flag

* Delete unused block Height

* store detach and attach list in txdb

* Delete pin module to adapt to orphan rollback

* update code clean

* Update some code after golint check

* Update for code review

* Delete comment for bytomcli list-accounts

* Update walletInfo key

6 years agoAdd go profiling programs (#109)
Guanghua Guo [Fri, 17 Nov 2017 06:08:48 +0000 (14:08 +0800)]
Add go profiling programs (#109)

6 years agofix the spend-tx error (#108)
Paladz [Thu, 16 Nov 2017 15:00:49 +0000 (23:00 +0800)]
fix the spend-tx error (#108)

6 years agoFix a bug (p2p pex enable pattern to connet not enable pattern) (#107)
Guanghua Guo [Thu, 16 Nov 2017 04:04:19 +0000 (12:04 +0800)]
Fix a bug (p2p pex enable pattern to connet not enable pattern) (#107)

#106

6 years agoAdd txfeed function (#103)
yahtoo [Wed, 15 Nov 2017 05:43:23 +0000 (13:43 +0800)]
Add txfeed function (#103)

* Add txfeed function

* Add txfeed function

* Add txfeed function

* Add txfeed function

* Add txfeed function

* Add txfeed function

6 years agoBvm (#104)
Paladz [Tue, 14 Nov 2017 09:11:46 +0000 (17:11 +0800)]
Bvm (#104)

* add a magic func for enable AI mining

6 years agoBvm (#101)
Paladz [Mon, 13 Nov 2017 09:41:06 +0000 (17:41 +0800)]
Bvm (#101)

* fix #95

6 years agoBvm (#100)
Paladz [Mon, 13 Nov 2017 09:04:37 +0000 (17:04 +0800)]
Bvm (#100)

* chain.state using block.height instead of height

* define the template structure for coinbase transaction

* fix for code review, golint and elegant

* fix a acp key error

* fix for hsm_test bug

* fix bug for list account

* fix for code review

* add log info to mining

6 years agoBvm (#96)
Paladz [Mon, 13 Nov 2017 07:18:34 +0000 (15:18 +0800)]
Bvm (#96)

* chain.state using block.height instead of height

* define the template structure for coinbase transaction

* fix for code review, golint and elegant

* fix a acp key error

* fix for hsm_test bug

* fix bug for list account

* fix for code review

6 years agoSet p2p timeout from configure file (#98)
Guanghua Guo [Mon, 13 Nov 2017 01:27:56 +0000 (09:27 +0800)]
Set p2p timeout from configure file (#98)

6 years agoAllow failure on the tip version of golang (#97)
Liu-Cheng Xu [Thu, 9 Nov 2017 08:41:45 +0000 (16:41 +0800)]
Allow failure on the tip version of golang (#97)

6 years agoRadom node key (#92)
Guanghua Guo [Thu, 9 Nov 2017 01:52:05 +0000 (09:52 +0800)]
Radom node key (#92)

* Fix a bug about fixed node key

* Change according from review

6 years agoMerge pull request #91 from Bytom/ci-test
Guanghua Guo [Wed, 8 Nov 2017 01:23:37 +0000 (09:23 +0800)]
Merge pull request #91 from Bytom/ci-test

Update .travis.yml

6 years agoUpdate .travis.yml
Liu-Cheng Xu [Wed, 8 Nov 2017 01:20:08 +0000 (19:20 -0600)]
Update .travis.yml

6 years agoAdd getBlockEntryByHash rpc call (#87)
Liu-Cheng Xu [Tue, 7 Nov 2017 11:43:50 +0000 (19:43 +0800)]
Add getBlockEntryByHash rpc call (#87)

* Solve confilicts

* Refine variable name

* Refactor

* Fix transactions missing

* Rewrite

* Append JSON

6 years agoAdd get-block-header-by-hash subcommand (#88)
Liu-Cheng Xu [Mon, 6 Nov 2017 08:59:57 +0000 (16:59 +0800)]
Add get-block-header-by-hash subcommand (#88)

* Add get-block-header-by-hash subcommand

* Catch err in hash.UnmarshalText

6 years agoTestnet (#86)
Guanghua Guo [Mon, 6 Nov 2017 06:54:51 +0000 (14:54 +0800)]
Testnet (#86)

* Delete tendermint log initialize

* Delete init function

* Add network initialize function

6 years agoMerge branch 'dev' of git://github.com/Bytom/bytom
Chengcheng Zhang [Mon, 6 Nov 2017 03:12:12 +0000 (11:12 +0800)]
Merge branch 'dev' of git://github.com/Bytom/bytom

6 years agoDelete tendermint log initialize (#85)
Guanghua Guo [Fri, 3 Nov 2017 07:03:33 +0000 (15:03 +0800)]
Delete tendermint log initialize (#85)

* Delete tendermint log initialize

* Delete init function

6 years agoFix chain's height is 0
gguoss [Fri, 3 Nov 2017 07:01:02 +0000 (15:01 +0800)]
Fix chain's height is 0

6 years agoRemove rpc updateAlias (#84)
Blockmeta-区块元 [Fri, 3 Nov 2017 06:17:51 +0000 (14:17 +0800)]
Remove rpc updateAlias (#84)

remove rpc updateAlias  for  alias should be unchangable

6 years agoMerge pull request #83 from Bytom/wallet
Blockmeta-区块元 [Fri, 3 Nov 2017 05:43:46 +0000 (13:43 +0800)]
Merge pull request #83 from Bytom/wallet

Add Wallet module

6 years agoFix duplicated alias bug and remove updateAlias rpc
Blockmeta-区块元 [Thu, 2 Nov 2017 15:01:50 +0000 (23:01 +0800)]
Fix duplicated alias bug and remove updateAlias rpc

fix bug for “duplicated alias happened at createKey“
remove updateAlias rpc for it‘s useless

6 years agoMerge remote-tracking branch 'origin/dev' into wallet
Blockmeta-区块元 [Thu, 2 Nov 2017 10:36:33 +0000 (18:36 +0800)]
Merge remote-tracking branch 'origin/dev' into wallet

6 years agoRemove vscode config
Blockmeta-区块元 [Thu, 2 Nov 2017 10:30:32 +0000 (18:30 +0800)]
Remove vscode config

Remove launch.json

6 years agochain.state using block.height instead of height (#82)
Paladz [Thu, 2 Nov 2017 09:41:42 +0000 (04:41 -0500)]
chain.state using block.height instead of height (#82)

6 years agoAdd rpc interface: get-current-block-hash (#80)
Guanghua Guo [Thu, 2 Nov 2017 08:51:36 +0000 (16:51 +0800)]
Add rpc interface: get-current-block-hash (#80)

* Add rpc interface: get-current-block-hash

* Update according review

6 years agodelete btmhash
Chengcheng Zhang [Thu, 2 Nov 2017 08:40:47 +0000 (16:40 +0800)]
delete btmhash

6 years agoAdd package cespare/cp
Blockmeta-区块元 [Thu, 2 Nov 2017 08:39:55 +0000 (16:39 +0800)]
Add package cespare/cp

Add package cespare/cp

6 years agoAdd thirdpart package and fix bugs of testcases
Blockmeta-区块元 [Thu, 2 Nov 2017 08:32:53 +0000 (16:32 +0800)]
Add thirdpart package and fix bugs of testcases

Add package cespare/cp
Fix pseudohsm testcases bugs  of "Keeping a clean workspace"

6 years agoMerge remote-tracking branch 'origin/dev' into wallet
Blockmeta-区块元 [Thu, 2 Nov 2017 06:11:40 +0000 (14:11 +0800)]
Merge remote-tracking branch 'origin/dev' into wallet

6 years agoFix difficulty_test error
gguoss [Thu, 2 Nov 2017 05:47:09 +0000 (13:47 +0800)]
Fix difficulty_test error

6 years agofix calDiff bug due to we set the genesis block height to 1 instead of 0
paladz [Thu, 2 Nov 2017 04:36:10 +0000 (12:36 +0800)]
fix calDiff bug due to we set the  genesis block height to 1 instead of 0

6 years agoMerge branch 'dev' into bvm
paladz [Thu, 2 Nov 2017 04:27:05 +0000 (12:27 +0800)]
Merge branch 'dev' into bvm

6 years agoupdate make file due to we are using vendor to control all the packages (#78)
Paladz [Thu, 2 Nov 2017 04:26:45 +0000 (23:26 -0500)]
update make file due to we are using vendor to control all the packages (#78)

* update make file due to we are using vendor to control all the packages

* update the makefile due to codereview

* delete grep -v '/rpc/' in makefile

6 years agodelete grep -v '/rpc/' in makefile
paladz [Thu, 2 Nov 2017 04:23:53 +0000 (12:23 +0800)]
delete grep -v '/rpc/' in makefile

6 years agoupdate the makefile due to codereview
paladz [Thu, 2 Nov 2017 04:05:53 +0000 (12:05 +0800)]
update the makefile due to codereview

6 years agoupdate make file due to we are using vendor to control all the packages
paladz [Thu, 2 Nov 2017 03:43:46 +0000 (11:43 +0800)]
update make file due to we are using vendor to control all the packages

6 years agoadd btmhash
Chengcheng Zhang [Thu, 2 Nov 2017 03:23:56 +0000 (11:23 +0800)]
add btmhash

6 years agodelete btmhash
Chengcheng Zhang [Thu, 2 Nov 2017 03:20:11 +0000 (11:20 +0800)]
delete btmhash

6 years agoadd btmhash
Chengcheng Zhang [Thu, 2 Nov 2017 03:15:25 +0000 (11:15 +0800)]
add btmhash

6 years agoMerge remote-tracking branch 'origin/dev' into wallet
Blockmeta-区块元 [Thu, 2 Nov 2017 03:02:02 +0000 (11:02 +0800)]
Merge remote-tracking branch 'origin/dev' into wallet

6 years agoadd stretchr/testify to vendor
paladz [Thu, 2 Nov 2017 02:58:04 +0000 (10:58 +0800)]
add stretchr/testify to vendor

6 years agoadd vendor support for make test
paladz [Thu, 2 Nov 2017 02:54:45 +0000 (10:54 +0800)]
add vendor support for make test

6 years agoMerge branch 'master' of https://github.com/Bytom/bytom-btmhash
Chengcheng Zhang [Thu, 2 Nov 2017 02:10:34 +0000 (10:10 +0800)]
Merge branch 'master' of https://github.com/Bytom/bytom-btmhash

6 years agoMerge remote-tracking branch 'origin/dev' into wallet
Blockmeta-区块元 [Wed, 1 Nov 2017 18:05:28 +0000 (02:05 +0800)]
Merge remote-tracking branch 'origin/dev' into wallet

6 years agoUpdate create-key rpc
Blockmeta-区块元 [Wed, 1 Nov 2017 15:39:23 +0000 (23:39 +0800)]
Update create-key rpc

Add error repsonse for duplicated alias

6 years agoDelete README.md
Chengcheng Zhang [Wed, 1 Nov 2017 14:40:29 +0000 (22:40 +0800)]
Delete README.md

6 years agoCreate README.md
Chengcheng Zhang [Wed, 1 Nov 2017 10:24:36 +0000 (18:24 +0800)]
Create README.md

6 years agoadd more package to our vendor
paladz [Wed, 1 Nov 2017 09:29:56 +0000 (17:29 +0800)]
add more package to our vendor

6 years agoMerge branch 'dev' into wallet
Blockmeta-区块元 [Wed, 1 Nov 2017 09:24:53 +0000 (17:24 +0800)]
Merge branch 'dev' into wallet

6 years agoadd golang.org/x package to our vendor
paladz [Wed, 1 Nov 2017 09:24:13 +0000 (17:24 +0800)]
add golang.org/x package to our vendor

6 years agoFix typo and delete coretest
Blockmeta-区块元 [Wed, 1 Nov 2017 09:24:01 +0000 (17:24 +0800)]
Fix typo and delete coretest

fix typo  "XKey“
delete coretest directory

6 years agoadd more package to our vendor
paladz [Wed, 1 Nov 2017 09:21:22 +0000 (17:21 +0800)]
add more package to our vendor

6 years agoFix bug for hsm test
Blockmeta-区块元 [Wed, 1 Nov 2017 09:11:55 +0000 (17:11 +0800)]
Fix bug for hsm test

fix bug
add comment

6 years agoadd magiconair/properties
paladz [Wed, 1 Nov 2017 09:11:20 +0000 (17:11 +0800)]
add magiconair/properties

6 years agoadd hashicorp/hcl
paladz [Wed, 1 Nov 2017 09:10:33 +0000 (17:10 +0800)]
add hashicorp/hcl

6 years agoadd fsnotify/fsnotify
paladz [Wed, 1 Nov 2017 09:09:48 +0000 (17:09 +0800)]
add fsnotify/fsnotify

6 years agoadd spf13/viper & spf13/cobra
paladz [Wed, 1 Nov 2017 09:08:41 +0000 (17:08 +0800)]
add spf13/viper & spf13/cobra

6 years agoadd rjeczalik/notify to vendor
paladz [Wed, 1 Nov 2017 09:00:17 +0000 (17:00 +0800)]
add rjeczalik/notify to vendor

6 years agoadd pkg/errors to vendor
paladz [Wed, 1 Nov 2017 08:59:19 +0000 (16:59 +0800)]
add pkg/errors to vendor

6 years agoadd uuid to vendor
paladz [Wed, 1 Nov 2017 08:58:16 +0000 (16:58 +0800)]
add uuid to vendor

6 years agoadd secureheader to vendor
paladz [Wed, 1 Nov 2017 08:57:10 +0000 (16:57 +0800)]
add secureheader to vendor

6 years agoadd protobuf to vendor
paladz [Wed, 1 Nov 2017 08:55:33 +0000 (16:55 +0800)]
add protobuf to vendor

6 years agoadd groupcache to vendor
paladz [Wed, 1 Nov 2017 08:51:55 +0000 (16:51 +0800)]
add groupcache to vendor

6 years agoadd hdrhistogram to vendor
paladz [Wed, 1 Nov 2017 08:47:48 +0000 (16:47 +0800)]
add hdrhistogram to vendor

6 years agoadd logrus to vendor
paladz [Wed, 1 Nov 2017 08:21:51 +0000 (16:21 +0800)]
add logrus to vendor

6 years agoMerge branch 'dev' into bvm
paladz [Wed, 1 Nov 2017 08:16:46 +0000 (16:16 +0800)]
Merge branch 'dev' into bvm

6 years agoremove submodule
paladz [Wed, 1 Nov 2017 08:15:16 +0000 (16:15 +0800)]
remove submodule

6 years agobuild: pass the right linker flags as version (#77)
detailyang [Wed, 1 Nov 2017 08:05:15 +0000 (03:05 -0500)]
build: pass the right linker flags as version (#77)

* build: pass the right linker flags as the version

* doc: change the installation of bytomd、 bytomcli

* style: pass golint

6 years agoinit the vender submodule
paladz [Wed, 1 Nov 2017 07:36:39 +0000 (15:36 +0800)]
init the vender submodule

6 years agoMerge branch 'dev' into wallet
Blockmeta-区块元 [Tue, 31 Oct 2017 12:34:00 +0000 (20:34 +0800)]
Merge branch 'dev' into wallet

6 years agoFix merge conflict
gguoss [Tue, 31 Oct 2017 09:06:43 +0000 (17:06 +0800)]
Fix merge conflict

6 years agoMerge branch 'dev' of https://github.com/Bytom/bytom into dev
gguoss [Tue, 31 Oct 2017 09:03:01 +0000 (17:03 +0800)]
Merge branch 'dev' of https://github.com/Bytom/bytom into dev

6 years agoset the init block bits
paladz [Tue, 31 Oct 2017 08:25:05 +0000 (16:25 +0800)]
set the init block bits

6 years agoMerge pull request #75 from Bytom/dev v0.1.3
Guanghua Guo [Tue, 31 Oct 2017 07:17:28 +0000 (15:17 +0800)]
Merge pull request #75 from Bytom/dev

Dev

6 years agoFix typo
Liu-Cheng Xu [Tue, 31 Oct 2017 06:15:46 +0000 (14:15 +0800)]
Fix typo

6 years agoupdate the init block bits
paladz [Tue, 31 Oct 2017 03:24:10 +0000 (11:24 +0800)]
update the init block bits

6 years agoMerge remote-tracking branch 'upstream/dev' into dev
Liu-Cheng Xu [Tue, 31 Oct 2017 03:07:24 +0000 (11:07 +0800)]
Merge remote-tracking branch 'upstream/dev' into dev

6 years agoAdd Dockerfile
Liu-Cheng Xu [Tue, 31 Oct 2017 03:04:55 +0000 (11:04 +0800)]
Add Dockerfile

6 years agomerge with dev
paladz [Tue, 31 Oct 2017 03:01:13 +0000 (11:01 +0800)]
merge with dev

6 years agoRemove copy in Makefile
Liu-Cheng Xu [Tue, 31 Oct 2017 00:54:56 +0000 (08:54 +0800)]
Remove copy in Makefile

6 years agofix bug for net level change
paladz [Sun, 29 Oct 2017 13:43:00 +0000 (21:43 +0800)]
fix bug for net level change

6 years agoUpdate README.md
Liu-Cheng Xu [Mon, 30 Oct 2017 09:26:24 +0000 (17:26 +0800)]
Update README.md

6 years agoMerge remote-tracking branch 'zjb/monday-zjb' into dev
Liu-Cheng Xu [Mon, 30 Oct 2017 09:24:28 +0000 (17:24 +0800)]
Merge remote-tracking branch 'zjb/monday-zjb' into dev