OSDN Git Service
李永峰 [Thu, 25 Jan 2018 03:15:06 +0000 (11:15 +0800)]
add dashboard with fixing create key (#325)
Paladz [Wed, 24 Jan 2018 06:44:07 +0000 (14:44 +0800)]
core upgrade (#310)
* tmp save
* fix the small bug
* add bit map status struct
* add unit test
* init push for core upgrade
* update the wallet part for core upgrade
* fix bug
* add utxo update
* fix for unit test
* fix mining part bug
* first version of elegant
* fix a mining part bug
* vm verify small change
* fix wallet part get transactions pointer bug
* code review variable rename
Guanghua Guo [Wed, 24 Jan 2018 01:37:10 +0000 (09:37 +0800)]
Miner - proof of work (#311)
* Add cmd/miner
* Add marshal function
* WorkResp mashal and unmashal ok
* miner getwork and do work ok
* Delete dead rpc code
* Delete WorkResp Unmarshal and Marshal function
yahtoo [Tue, 23 Jan 2018 08:58:32 +0000 (16:58 +0800)]
Full BIP32 EdDSA compatibility (#314)
icodezjb [Tue, 23 Jan 2018 08:37:17 +0000 (16:37 +0800)]
Password array (#316)
* Fix Key not Found Problem
Remove XPrv cache
Change password string to array
* use password array
* code clean
Liu-Cheng Xu [Tue, 23 Jan 2018 07:43:04 +0000 (15:43 +0800)]
Eliminate resWrapper (#315)
- also standardize the imports of `wallet.go`
Blockmeta-区块元 [Tue, 23 Jan 2018 02:38:01 +0000 (10:38 +0800)]
Add passwords and Remove xprv cache (#267)
* Fix Key not Found Problem
Remove XPrv cache
Change password string to array
* Add password array
fix test bug
* Truncate useless codes
Return error ,no more "if"
Guanghua Guo [Mon, 22 Jan 2018 02:24:57 +0000 (10:24 +0800)]
Add miner's getWork function (#306)
Liu-Cheng Xu [Mon, 22 Jan 2018 02:19:51 +0000 (10:19 +0800)]
Add blockchain/accounts,assets test (#308)
icodezjb [Fri, 19 Jan 2018 05:00:48 +0000 (13:00 +0800)]
Support list transactions summary (#303)
* Support list transactions summary
* use GetTransactionsSummary with the same transactions data
* Update GetTransactionsSummary
* format code
icodezjb [Fri, 19 Jan 2018 01:53:05 +0000 (09:53 +0800)]
Add external asset ailas and definition (#278)
* Save external asset alias and definition
(cherry picked from commit
0c59d87)
* Add btm definition
(cherry picked from commit
6c8d2b5)
* rename external asset alias
* use getNativeAsset
* skip save local asset definition
* index external asset definition
* Add update-asset-alias cmd
* Use assetID as asset alias if no alias in definition
* Add update-asset-alias ErrNullAlias
* Add native_asset_definition in genesis.json
* Reverse native_asset_definition
* Unused SerializeAssetDef
* use Registry.FindByID
* use CalcExtAssetKey
* Only remove aliasCache
* Add cache newAlias to assetID
* Resolve code conflict
李永峰 [Thu, 18 Jan 2018 11:58:45 +0000 (19:58 +0800)]
add private key import (#305)
* correct import-private-key api
* update dashboard.go
add import private key interface
* improve naming
yahtoo [Thu, 18 Jan 2018 09:37:53 +0000 (17:37 +0800)]
Save create asset and create account key index (#304)
* Save create asset and create account key index
* Add key index read/write lock
李永峰 [Thu, 18 Jan 2018 06:28:52 +0000 (14:28 +0800)]
fix test failure (#302)
Paladz [Thu, 18 Jan 2018 02:35:33 +0000 (10:35 +0800)]
Revert "remove useless ctx argument in accesstoken#CredentialStore" (#301)
* Revert "Add utxo reservation test (#291)"
This reverts commit
5607f070955c4d80525ac0c770b67589ca2d449a.
* Revert "remove useless ctx argument in accesstoken#CredentialStore (#300)"
This reverts commit
c3aa98d6f1984a248430a3de0cbe0cafc9da7972.
Liu-Cheng Xu [Thu, 18 Jan 2018 02:02:49 +0000 (10:02 +0800)]
Add utxo reservation test (#291)
* Add utxo reservation test
- also the missing account deletion test.
* Deprecate resWrapper
李永峰 [Thu, 18 Jan 2018 02:00:08 +0000 (10:00 +0800)]
remove useless ctx argument in accesstoken#CredentialStore (#300)
Paladz [Thu, 18 Jan 2018 01:59:10 +0000 (09:59 +0800)]
stand tx is eveywhere (#298)
* stand tx is eveywhere
* add unit test
李永峰 [Wed, 17 Jan 2018 10:12:41 +0000 (18:12 +0800)]
add export private key (#299)
yahtoo [Wed, 17 Jan 2018 02:48:04 +0000 (10:48 +0800)]
Recovery walletDB support standard txs (#296)
Paladz [Tue, 16 Jan 2018 11:40:08 +0000 (19:40 +0800)]
Coinbase input (#290)
* init push for coinbase have input
* fix io write bug
* support wallet display
* fix map side bug
李永峰 [Tue, 16 Jan 2018 10:41:26 +0000 (18:41 +0800)]
remove useless signer create arguments (#293)
Liu-Cheng Xu [Tue, 16 Jan 2018 02:44:18 +0000 (10:44 +0800)]
Rename spend to spent (#287)
* Fix rpc server error (#195)
* Rename spend to spent
`spent` of `UtxoEntry` indicates if a certain utxo has been spent.
* Another typo
* Update stroage.proto
李永峰 [Mon, 15 Jan 2018 11:43:34 +0000 (19:43 +0800)]
fix authn_test (#289)
李永峰 [Mon, 15 Jan 2018 11:19:29 +0000 (19:19 +0800)]
improve remote visit for dashboard (#288)
李永峰 [Mon, 15 Jan 2018 07:57:53 +0000 (15:57 +0800)]
Merge pull request #286 from Bytom/token-refactor
Token refactor
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)