OSDN Git Service
Guanghua Guo [Wed, 29 Nov 2017 05:56:28 +0000 (13:56 +0800)]
Add configure chain_id (#145)
icodezjb [Wed, 29 Nov 2017 05:54:07 +0000 (13:54 +0800)]
Multi account issue (#144)
* Support multi account issue asset
* Update main.go
Paladz [Wed, 29 Nov 2017 03:19:15 +0000 (11:19 +0800)]
remove exp (#143)
yahtoo [Wed, 29 Nov 2017 01:48:38 +0000 (09:48 +0800)]
Add txfeed commands to cobra & Change accesstoken rpc to jsend format (#140)
* Add txfeed comands to cobra
* Change accesstoken rpc to jsend format
* Change accesstoken handler from "a" to "br"
Paladz [Tue, 28 Nov 2017 15:32:27 +0000 (23:32 +0800)]
Bvm (#138)
* delete unused parameters from chain core
* add unit test for snapshot tree proto
Paladz [Tue, 28 Nov 2017 14:20:36 +0000 (22:20 +0800)]
quick fix for snapshot key and a compile time error (#142)
icodezjb [Tue, 28 Nov 2017 07:20:35 +0000 (15:20 +0800)]
Support remote spend transaction (#139)
* Support remote spend transaction
Liu-Cheng Xu [Tue, 28 Nov 2017 06:04:09 +0000 (14:04 +0800)]
Unify block-hash (#137)
Liu-Cheng Xu [Tue, 28 Nov 2017 02:10:37 +0000 (10:10 +0800)]
Unify net.go's json response (#136)
* Unify net.go's json response
* Add TODO
Liu-Cheng Xu [Mon, 27 Nov 2017 08:57:07 +0000 (16:57 +0800)]
Unify json response (#130)
* Unify gas-rate json response experimentally
* Unify block-height and is-mining
* Reuse duplicated code
* Don't ignore error check
* Unify get-block-by-height and get-block-transactions-count-by-height
yahtoo [Mon, 27 Nov 2017 08:45:24 +0000 (16:45 +0800)]
Add rpc token authenticate function (#135)
icodezjb [Mon, 27 Nov 2017 02:37:07 +0000 (10:37 +0800)]
Update for hsm_test (#131)
* Update for hsm_test
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
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
oysheng [Thu, 23 Nov 2017 10:23:20 +0000 (18:23 +0800)]
modify about GasRate (#128)
oysheng [Thu, 23 Nov 2017 02:41:41 +0000 (10:41 +0800)]
add ivy compiler (#125)
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
Liu-Cheng Xu [Wed, 22 Nov 2017 09:13:40 +0000 (17:13 +0800)]
Fix outdated build instruction (#123)
Paladz [Wed, 22 Nov 2017 07:49:30 +0000 (15:49 +0800)]
finish todo: delete old mainchain && snapshot in db (#122)
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
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
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
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
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)
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
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
Guanghua Guo [Fri, 17 Nov 2017 06:08:48 +0000 (14:08 +0800)]
Add go profiling programs (#109)
Paladz [Thu, 16 Nov 2017 15:00:49 +0000 (23:00 +0800)]
fix the spend-tx error (#108)
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
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
Paladz [Tue, 14 Nov 2017 09:11:46 +0000 (17:11 +0800)]
Bvm (#104)
* add a magic func for enable AI mining
Paladz [Mon, 13 Nov 2017 09:41:06 +0000 (17:41 +0800)]
Bvm (#101)
* fix #95
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
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
Guanghua Guo [Mon, 13 Nov 2017 01:27:56 +0000 (09:27 +0800)]
Set p2p timeout from configure file (#98)
Liu-Cheng Xu [Thu, 9 Nov 2017 08:41:45 +0000 (16:41 +0800)]
Allow failure on the tip version of golang (#97)
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
Guanghua Guo [Wed, 8 Nov 2017 01:23:37 +0000 (09:23 +0800)]
Merge pull request #91 from Bytom/ci-test
Update .travis.yml
Liu-Cheng Xu [Wed, 8 Nov 2017 01:20:08 +0000 (19:20 -0600)]
Update .travis.yml
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
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
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
Chengcheng Zhang [Mon, 6 Nov 2017 03:12:12 +0000 (11:12 +0800)]
Merge branch 'dev' of git://github.com/Bytom/bytom
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
gguoss [Fri, 3 Nov 2017 07:01:02 +0000 (15:01 +0800)]
Fix chain's height is 0
Blockmeta-区块元 [Fri, 3 Nov 2017 06:17:51 +0000 (14:17 +0800)]
Remove rpc updateAlias (#84)
remove rpc updateAlias for alias should be unchangable
Blockmeta-区块元 [Fri, 3 Nov 2017 05:43:46 +0000 (13:43 +0800)]
Merge pull request #83 from Bytom/wallet
Add Wallet module
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
Blockmeta-区块元 [Thu, 2 Nov 2017 10:36:33 +0000 (18:36 +0800)]
Merge remote-tracking branch 'origin/dev' into wallet
Blockmeta-区块元 [Thu, 2 Nov 2017 10:30:32 +0000 (18:30 +0800)]
Remove vscode config
Remove launch.json
Paladz [Thu, 2 Nov 2017 09:41:42 +0000 (04:41 -0500)]
chain.state using block.height instead of height (#82)
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
Chengcheng Zhang [Thu, 2 Nov 2017 08:40:47 +0000 (16:40 +0800)]
delete btmhash
Blockmeta-区块元 [Thu, 2 Nov 2017 08:39:55 +0000 (16:39 +0800)]
Add package cespare/cp
Add package cespare/cp
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"
Blockmeta-区块元 [Thu, 2 Nov 2017 06:11:40 +0000 (14:11 +0800)]
Merge remote-tracking branch 'origin/dev' into wallet
gguoss [Thu, 2 Nov 2017 05:47:09 +0000 (13:47 +0800)]
Fix difficulty_test error
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
paladz [Thu, 2 Nov 2017 04:27:05 +0000 (12:27 +0800)]
Merge branch 'dev' into bvm
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
paladz [Thu, 2 Nov 2017 04:23:53 +0000 (12:23 +0800)]
delete grep -v '/rpc/' in makefile
paladz [Thu, 2 Nov 2017 04:05:53 +0000 (12:05 +0800)]
update the makefile due to codereview
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
Chengcheng Zhang [Thu, 2 Nov 2017 03:23:56 +0000 (11:23 +0800)]
add btmhash
Chengcheng Zhang [Thu, 2 Nov 2017 03:20:11 +0000 (11:20 +0800)]
delete btmhash
Chengcheng Zhang [Thu, 2 Nov 2017 03:15:25 +0000 (11:15 +0800)]
add btmhash
Blockmeta-区块元 [Thu, 2 Nov 2017 03:02:02 +0000 (11:02 +0800)]
Merge remote-tracking branch 'origin/dev' into wallet
paladz [Thu, 2 Nov 2017 02:58:04 +0000 (10:58 +0800)]
add stretchr/testify to vendor
paladz [Thu, 2 Nov 2017 02:54:45 +0000 (10:54 +0800)]
add vendor support for make test
Chengcheng Zhang [Thu, 2 Nov 2017 02:10:34 +0000 (10:10 +0800)]
Merge branch 'master' of https://github.com/Bytom/bytom-btmhash
Blockmeta-区块元 [Wed, 1 Nov 2017 18:05:28 +0000 (02:05 +0800)]
Merge remote-tracking branch 'origin/dev' into wallet
Blockmeta-区块元 [Wed, 1 Nov 2017 15:39:23 +0000 (23:39 +0800)]
Update create-key rpc
Add error repsonse for duplicated alias
Chengcheng Zhang [Wed, 1 Nov 2017 14:40:29 +0000 (22:40 +0800)]
Delete README.md
Chengcheng Zhang [Wed, 1 Nov 2017 10:24:36 +0000 (18:24 +0800)]
Create README.md
paladz [Wed, 1 Nov 2017 09:29:56 +0000 (17:29 +0800)]
add more package to our vendor
Blockmeta-区块元 [Wed, 1 Nov 2017 09:24:53 +0000 (17:24 +0800)]
Merge branch 'dev' into wallet
paladz [Wed, 1 Nov 2017 09:24:13 +0000 (17:24 +0800)]
add golang.org/x package to our vendor
Blockmeta-区块元 [Wed, 1 Nov 2017 09:24:01 +0000 (17:24 +0800)]
Fix typo and delete coretest
fix typo "XKey“
delete coretest directory
paladz [Wed, 1 Nov 2017 09:21:22 +0000 (17:21 +0800)]
add more package to our vendor
Blockmeta-区块元 [Wed, 1 Nov 2017 09:11:55 +0000 (17:11 +0800)]
Fix bug for hsm test
fix bug
add comment
paladz [Wed, 1 Nov 2017 09:11:20 +0000 (17:11 +0800)]
add magiconair/properties
paladz [Wed, 1 Nov 2017 09:10:33 +0000 (17:10 +0800)]
add hashicorp/hcl
paladz [Wed, 1 Nov 2017 09:09:48 +0000 (17:09 +0800)]
add fsnotify/fsnotify
paladz [Wed, 1 Nov 2017 09:08:41 +0000 (17:08 +0800)]
add spf13/viper & spf13/cobra
paladz [Wed, 1 Nov 2017 09:00:17 +0000 (17:00 +0800)]
add rjeczalik/notify to vendor
paladz [Wed, 1 Nov 2017 08:59:19 +0000 (16:59 +0800)]
add pkg/errors to vendor
paladz [Wed, 1 Nov 2017 08:58:16 +0000 (16:58 +0800)]
add uuid to vendor
paladz [Wed, 1 Nov 2017 08:57:10 +0000 (16:57 +0800)]
add secureheader to vendor
paladz [Wed, 1 Nov 2017 08:55:33 +0000 (16:55 +0800)]
add protobuf to vendor
paladz [Wed, 1 Nov 2017 08:51:55 +0000 (16:51 +0800)]
add groupcache to vendor
paladz [Wed, 1 Nov 2017 08:47:48 +0000 (16:47 +0800)]
add hdrhistogram to vendor
paladz [Wed, 1 Nov 2017 08:21:51 +0000 (16:21 +0800)]
add logrus to vendor
paladz [Wed, 1 Nov 2017 08:16:46 +0000 (16:16 +0800)]
Merge branch 'dev' into bvm
paladz [Wed, 1 Nov 2017 08:15:16 +0000 (16:15 +0800)]
remove submodule
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
paladz [Wed, 1 Nov 2017 07:36:39 +0000 (15:36 +0800)]
init the vender submodule
Blockmeta-区块元 [Tue, 31 Oct 2017 12:34:00 +0000 (20:34 +0800)]
Merge branch 'dev' into wallet
gguoss [Tue, 31 Oct 2017 09:06:43 +0000 (17:06 +0800)]
Fix merge conflict
gguoss [Tue, 31 Oct 2017 09:03:01 +0000 (17:03 +0800)]
Merge branch 'dev' of https://github.com/Bytom/bytom into dev
paladz [Tue, 31 Oct 2017 08:25:05 +0000 (16:25 +0800)]
set the init block bits