OSDN Git Service
Yongfeng LI [Mon, 15 Jan 2018 07:03:57 +0000 (15:03 +0800)]
not allow remote get access tokens
Yongfeng LI [Mon, 15 Jan 2018 06:39:26 +0000 (14:39 +0800)]
fix accesstoken check api
Yongfeng LI [Mon, 15 Jan 2018 05:09:06 +0000 (13:09 +0800)]
improve accesstoken list test
Yongfeng LI [Mon, 15 Jan 2018 03:05:17 +0000 (11:05 +0800)]
return hashed secret afted creating accesstoken
check will requie id and the hashed secret
Paladz [Mon, 15 Jan 2018 01:59:35 +0000 (09:59 +0800)]
Native segwit (#283)
* tmp save
* tmp save
* init push for native_segwit
* fix package name
* edit for code review
* update for code review
* oops, fix small bug
李永峰 [Fri, 12 Jan 2018 03:03:32 +0000 (11:03 +0800)]
remove redundant RedirectHandler (#282)
Guanghua Guo [Fri, 12 Jan 2018 02:17:40 +0000 (10:17 +0800)]
Performance test (#279)
* Delete die code
* Add transaction test
* Move standard_transaction_test to test dir
* Add performance test for NewBlockTpl function
Liu-Cheng Xu [Fri, 12 Jan 2018 02:12:57 +0000 (10:12 +0800)]
Add partial test for account and asset (#280)
李永峰 [Fri, 12 Jan 2018 02:10:21 +0000 (10:10 +0800)]
update dashboard with create address (#281)
yahtoo [Thu, 11 Jan 2018 02:57:57 +0000 (10:57 +0800)]
Fix list transactions output error (#277)
Guanghua Guo [Thu, 11 Jan 2018 01:31:11 +0000 (09:31 +0800)]
Test (#272)
* Fix rpc server error (#195)
* Add Test RunNode
* Add netinfo rpc test
* rpc integrate test ok
* Add list-key delete-key integrate test
* Add function comment
* Change wallet's sign
* Add util/util.go
* Change integrate/test
李永峰 [Wed, 10 Jan 2018 11:11:45 +0000 (19:11 +0800)]
Merge pull request #276 from Bytom/create-receiver
remove expiresAt param for create-account-receiver
Yongfeng LI [Wed, 10 Jan 2018 11:06:33 +0000 (19:06 +0800)]
refactor create-account-receiver
李永峰 [Wed, 10 Jan 2018 07:17:50 +0000 (15:17 +0800)]
simplify the params to create-account-addres (#274)
李永峰 [Wed, 10 Jan 2018 06:11:35 +0000 (14:11 +0800)]
Merge pull request #273 from Bytom/ci
run build in travis ci
Yongfeng LI [Wed, 10 Jan 2018 05:44:49 +0000 (13:44 +0800)]
run build in ci
李永峰 [Wed, 10 Jan 2018 05:41:02 +0000 (13:41 +0800)]
Merge pull request #271 from Bytom/response-refactor
factor response wrapper
Yongfeng LI [Wed, 10 Jan 2018 05:31:22 +0000 (13:31 +0800)]
add Response factor
mark resWrapper as Deprecated
Paladz [Wed, 10 Jan 2018 04:59:26 +0000 (12:59 +0800)]
Revert "refactor blockchain resWrapper (#269)" (#270)
This reverts commit
96977ce2f4679ebe14a61b53d987a5ea1782997b.
李永峰 [Wed, 10 Jan 2018 04:49:58 +0000 (12:49 +0800)]
refactor blockchain resWrapper (#269)
icodezjb [Tue, 9 Jan 2018 07:46:09 +0000 (15:46 +0800)]
Merge build-transaction Actions (#265)
* Merge build-transaction Actions
* Add TestMergeActions in transact_test.go
* Update MergeActions
* Update MergeActions
yahtoo [Tue, 9 Jan 2018 05:37:19 +0000 (13:37 +0800)]
Add accesstoken authz error return (#266)
李永峰 [Mon, 8 Jan 2018 11:26:10 +0000 (19:26 +0800)]
Merge pull request #263 from Bytom/fix-invalid-type
correct CredentialStore#check argument type
Yongfeng LI [Mon, 8 Jan 2018 11:17:15 +0000 (19:17 +0800)]
correct CredentialStore#check argument type
Guanghua Guo [Mon, 8 Jan 2018 09:22:22 +0000 (17:22 +0800)]
Webbrowser (#260)
* Add webbrowser package
* Add bytomd run with webbrowser
* Add configure web's prameters
* go fmt
* Change wallet config
* Change lanch web browser time
Liu-Cheng Xu [Mon, 8 Jan 2018 04:40:04 +0000 (12:40 +0800)]
Clear cache before deleting account (#258)
Close #253.
李永峰 [Mon, 8 Jan 2018 04:26:40 +0000 (12:26 +0800)]
improve code style (#257)
李永峰 [Mon, 8 Jan 2018 03:12:45 +0000 (11:12 +0800)]
refactor code in CredentialStore#create (#255)
* refactor code in CredentialStore#create
* change key generate in CredentialStore#Check
* correct CredentialStore#Delete and enhance test case
李永峰 [Fri, 5 Jan 2018 10:02:52 +0000 (18:02 +0800)]
refactor accesstoken create function (#250)
icodezjb [Fri, 5 Jan 2018 08:13:11 +0000 (16:13 +0800)]
Define ErrInternalAsset (#249)
Paladz [Fri, 5 Jan 2018 07:55:09 +0000 (15:55 +0800)]
quick small change (#248)
Paladz [Fri, 5 Jan 2018 06:11:45 +0000 (14:11 +0800)]
Elegant (#247)
* tmp save
* init push for asset code elegant
* fix a saving bug
* edit for update account tag
Paladz [Fri, 5 Jan 2018 01:54:50 +0000 (09:54 +0800)]
Remove annotated struct (#242)
* tmp save
* all I wanna for Xmas is you
* edit format for test
* fix issue program display issue
Paladz [Thu, 4 Jan 2018 01:59:47 +0000 (09:59 +0800)]
init push for remove account annotated_struct (#241)
Paladz [Wed, 3 Jan 2018 09:40:25 +0000 (17:40 +0800)]
init push for pay-to-script-hash (#235)
* init push for pay-to-script-hash
* edit for code review
* edit the test code struct
* edit for golint
* add the cli part
李永峰 [Wed, 3 Jan 2018 04:50:09 +0000 (12:50 +0800)]
fix infinite call after list call fail (#237)
李永峰 [Tue, 2 Jan 2018 12:09:41 +0000 (20:09 +0800)]
fix dashboard create key (#234)
Liu-Cheng Xu [Tue, 2 Jan 2018 11:41:39 +0000 (19:41 +0800)]
Refactor bytomcli via cobra (#222)
* Fix rpc server error (#195)
* Reduce code duplication
* Add exit code
- add exit code for various exceptions.
* Exit after clientCall
* Refactor list-keys and delete-key
* Refactor list-accounts
* Refactor list-assets, add delete-account, etc
* Refactor update-account-tags
* Refactor cmds about access token
* Add txfeed related commands
- also a bit refactor.
* Delete jsend
* Resolve merge conflicts
* Add new files
* Pass golint
* Refactor create account receiver
* Refine commands help
* Use interface{} type instead of []string
* Refactor list-transactions,list-balances and list-unspent-outputs
* Refactor build-transaction
* Refactor sign-transaction and submit-transaction
* Replace bytomcli with cobra
* new branch base
* Refactor multiple commands
Updated:
- block-height
- is-mining
- gas-rate
Removed(bytomd):
- net-listening
- net-syncing
- peer-count
* Update block-related commands
* Refactor list cmd
* Update create-key and create-access-token
* Update txfeed
* Try to fix commit update
* build-transaction and sign-transaction
* code clean and unit-test
* Add cmd sign-submit-transaction
* List assets
* Use id instead of tx_id
* list one entry by id
* Delete transaction index
* Don't return error when no data
* Remove useless files
* List transactions by account id
* Format json tag
* Add asset alias on list-balances
* Add asset alias on list-unspent-outputs
* Add create-account-receiver experimentally
* Add account alias on list-unspent-outputs
* Update according to the preview review
* Revert accesstoken
* Delete useless code
* Rename to bcr
* Support build tramsaction by alias
* Add error log in pseudohsmSignTemplate
* Fix build spend transaction template
* Change dashboard
* Change dashboard.go
* Add btm alias
* Support retire transaction
* Refine net-info
* update dashboard.go
* update dashboard.go
* Support create account by multi-sign
* Multi-signature is avaliable
* Chang error code name
* update dashboard.go
* Update README.md roughly
* update dashboard.go by fixing build transaction with receiver
* Update README.md
* update dashboard.go by fixing create account/asset
yahtoo [Fri, 29 Dec 2017 07:45:57 +0000 (15:45 +0800)]
Add RPC access auth config option on node start (#225)
Paladz [Fri, 29 Dec 2017 04:49:29 +0000 (12:49 +0800)]
clean the account utxo struct (#221)
Guanghua Guo [Fri, 29 Dec 2017 03:04:17 +0000 (11:04 +0800)]
Support static dashboard (#220)
Paladz [Thu, 28 Dec 2017 07:28:40 +0000 (15:28 +0800)]
Edit genesis (#219)
* genesis block start from 0
* fix for code review
yahtoo [Thu, 28 Dec 2017 02:19:38 +0000 (10:19 +0800)]
Add xprv export and import function (#218)
* Save hd wallet path index to db
* Add xprv export and import function
* Optimized variable name definition
Paladz [Wed, 27 Dec 2017 07:35:07 +0000 (15:35 +0800)]
edit for golint (#216)
Paladz [Wed, 27 Dec 2017 05:10:44 +0000 (13:10 +0800)]
quick fix for fail resent (#215)
* quick fix for fail resent
* fix a bug
Paladz [Tue, 26 Dec 2017 09:10:35 +0000 (17:10 +0800)]
Address (#213)
* tmp save for developing
* tmp save for check other available method
* update txbuilder pass the unit test
* add integration test
* address to pubkeyHash
* edit txbuild for support pay to address ==> pubkeyHash
* black, white, elegant
Guanghua Guo [Mon, 25 Dec 2017 09:18:21 +0000 (17:18 +0800)]
Test (#211)
* Fix a bug about test build error
* Add test direction to suport integrate test & reg test
* Add curl test
Guanghua Guo [Mon, 18 Dec 2017 07:16:57 +0000 (15:16 +0800)]
Fix a bug about test build error (#205)
Guanghua Guo [Mon, 18 Dec 2017 07:09:51 +0000 (15:09 +0800)]
Cross build (#203)
* Support multi platform build
* suport darwin build
* Support windows compile
Paladz [Mon, 18 Dec 2017 02:08:38 +0000 (10:08 +0800)]
Utxo storage (#196)
* tmp save
* init version of snapshot upgrade
* pass all the unit test
* fix the code logic
* fix a bug
* add unit test for TestSaveMainchain
* add unit test for TestSaveUtxoView
* add unit test: TestGetTransactionsUtxo
* add unit test for utxo_view
* delete the costly unit test
* fix bug on endto end test
yahtoo [Thu, 14 Dec 2017 10:39:01 +0000 (18:39 +0800)]
Fix wallet issue asset tx annotate problem (#199)
Guanghua Guo [Thu, 14 Dec 2017 09:47:25 +0000 (17:47 +0800)]
Fix dockefile command failed (#198)
yahtoo [Thu, 14 Dec 2017 09:00:27 +0000 (17:00 +0800)]
Adjust wallet code structure (#197)
* Refactor indexTX
* Use walletDB to contain assetDB and accountDB
* Update hsm_test.go
* Update hsm_test.go
* Adjust wallet code structure
* Fix golint wallet source code problem
Guanghua Guo [Mon, 11 Dec 2017 02:19:12 +0000 (10:19 +0800)]
Fix rpc server error (#194)
Guanghua Guo [Mon, 11 Dec 2017 02:09:45 +0000 (10:09 +0800)]
Bug 94 (#192)
* Add configure mining
* Fix bug about #94
* Formating
Guanghua Guo [Wed, 6 Dec 2017 11:12:04 +0000 (19:12 +0800)]
Reactor (#182)
* Add rpc_reactor.go
* Fix a bug about misspelled words
* Added blockchain_reactor.go
icodezjb [Tue, 5 Dec 2017 08:56:38 +0000 (16:56 +0800)]
Update tmlibs version 0.4.0 to 0.4.1 (#174)
icodezjb [Tue, 5 Dec 2017 01:36:23 +0000 (09:36 +0800)]
Cache utxos (#169)
* Cache the account utxos
* Remove IndexAssets
Guanghua Guo [Mon, 4 Dec 2017 02:33:08 +0000 (10:33 +0800)]
Merge pull request #165 from Bytom/meger_master
Meger master
gguoss [Mon, 4 Dec 2017 02:24:49 +0000 (10:24 +0800)]
Merge master
icodezjb [Thu, 30 Nov 2017 10:10:30 +0000 (18:10 +0800)]
change Max transaction size to
1048576 bytes and Max block size to
10485760 bytes (#158)
icodezjb [Thu, 30 Nov 2017 09:22:51 +0000 (17:22 +0800)]
change MaxTxSize and MaxBlockSzie to
1048576 bytes (#156)
icodezjb [Thu, 30 Nov 2017 09:22:14 +0000 (17:22 +0800)]
Update README.md (#157)
* Update README.md
Guanghua Guo [Thu, 30 Nov 2017 08:26:42 +0000 (16:26 +0800)]
Change api call port 98888 (#154)
* Change api port 9888
icodezjb [Thu, 30 Nov 2017 08:16:32 +0000 (16:16 +0800)]
Update for bytomcli help cmd (#155)
Paladz [Thu, 30 Nov 2017 03:24:10 +0000 (11:24 +0800)]
Hsm (#152)
* tmp save
* update the test case sign logic
Paladz [Thu, 30 Nov 2017 02:30:15 +0000 (10:30 +0800)]
Merge pull request #150 from Bytom/dev
Dev
yahtoo [Thu, 30 Nov 2017 02:29:11 +0000 (10:29 +0800)]
Fix txfeed panic when wallet disabled (#151)
Guanghua Guo [Wed, 29 Nov 2017 11:45:17 +0000 (19:45 +0800)]
Change ip seeds (#149)
Guanghua Guo [Wed, 29 Nov 2017 09:41:53 +0000 (17:41 +0800)]
Dev (#148)
* Add rpc token authenticate function (#135)
* 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
* Unify net.go's json response (#136)
* Unify net.go's json response
* Add TODO
* Unify block-hash (#137)
* Support remote spend transaction (#139)
* Support remote spend transaction
* quick fix for snapshot key and a compile time error (#142)
* Bvm (#138)
* delete unused parameters from chain core
* add unit test for snapshot tree proto
* 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"
* remove exp (#143)
* Multi account issue (#144)
* Support multi account issue asset
* Update main.go
* Add configure chain_id (#145)
* Update README.md (#147)
* Update README.md
Guanghua Guo [Wed, 29 Nov 2017 09:36:17 +0000 (17:36 +0800)]
Update README.md (#147)
* Update README.md
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)
Guanghua Guo [Mon, 27 Nov 2017 02:40:37 +0000 (10:40 +0800)]
Merge pull request #132 from Bytom/dev
Dev
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 04:59:25 +0000 (12:59 +0800)]
Merge pull request #115 from Bytom/dev
Unit 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)
Guanghua Guo [Mon, 20 Nov 2017 01:33:16 +0000 (09:33 +0800)]
Merge pull request #112 from Bytom/dev
Dev
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