OSDN Git Service
Paladz [Tue, 27 Feb 2018 05:00:02 +0000 (13:00 +0800)]
p2sh use RawWitnessKeys (#386)
* p2sh use RawWitnessKeys
* change test key name for fix delay issue
* edit test dir name
Liu-Cheng Xu [Tue, 27 Feb 2018 02:00:00 +0000 (10:00 +0800)]
Skip p2p tests (#385)
Skip all the tests in p2p when running `go test`.
李永峰 [Mon, 12 Feb 2018 06:22:27 +0000 (14:22 +0800)]
update dashboard (#379)
1. transaction pagination
2. simplify new transaction
3. i18n
4. expose new transaction advanced setting
5. fix bugs
Paladz [Fri, 9 Feb 2018 05:50:23 +0000 (13:50 +0800)]
Sign process (#371)
* support sign between different node
* fix for golint
* sign password doesn't need array any more
Paladz [Thu, 8 Feb 2018 10:30:24 +0000 (18:30 +0800)]
add comment (#374)
Paladz [Thu, 8 Feb 2018 08:00:58 +0000 (16:00 +0800)]
forgot delete old unit test (#373)
Paladz [Thu, 8 Feb 2018 07:46:47 +0000 (15:46 +0800)]
fix retire issue bug (#372)
Liu-Cheng Xu [Thu, 8 Feb 2018 07:45:15 +0000 (15:45 +0800)]
Add unit test for wallet (#354)
* Add unit test for wallet
* Update accordingly
icodezjb [Thu, 8 Feb 2018 07:24:51 +0000 (15:24 +0800)]
Use *chainjson.HexBytes instead of *json.RawMessage (#370)
Guanghua Guo [Wed, 7 Feb 2018 09:24:33 +0000 (17:24 +0800)]
Change blockheader support json encode/decode (#367)
* Change blockheader support json encode/decode
* Add json comment
Paladz [Tue, 6 Feb 2018 08:57:51 +0000 (16:57 +0800)]
fix apply tx to handle the retire (#366)
icodezjb [Tue, 6 Feb 2018 08:02:21 +0000 (16:02 +0800)]
use UTXO ReservationsPeriod (#364)
Liu-Cheng Xu [Mon, 5 Feb 2018 01:33:45 +0000 (09:33 +0800)]
Don't init logrus in a seperate file (#361)
The logging funcationality is broken when crossing compile the
executable file due to some unknown machnisms related to the main
package. So, move `log_hook.go` to `main.go`.
d [Fri, 2 Feb 2018 07:48:10 +0000 (08:48 +0100)]
remove old wallet.enable flag (#347)
* Fix rpc server error (#195)
* remove old wallet.enable flag
icodezjb [Fri, 2 Feb 2018 06:01:25 +0000 (14:01 +0800)]
fix bytomd panic when launch more web dashboard (#358)
icodezjb [Fri, 2 Feb 2018 05:45:10 +0000 (13:45 +0800)]
fix index external asset definition (#355)
yahtoo [Thu, 1 Feb 2018 07:02:34 +0000 (15:02 +0800)]
Add walletdb recover function from keystore (#340)
* Add walletdb recover function
* Fix walletUpdater goroutine data race bug
* Refactor walletdb recover from keystore code
* Delete useless lock
* Change rescanBlocks signal transfer
Guanghua Guo [Thu, 1 Feb 2018 06:59:24 +0000 (14:59 +0800)]
Change version &&support 386 multi platform (#344)
李永峰 [Thu, 1 Feb 2018 06:57:03 +0000 (14:57 +0800)]
update dashboard (#345)
Guanghua Guo [Wed, 31 Jan 2018 11:56:26 +0000 (19:56 +0800)]
Miner (#329)
* Support rpc mining
* Add submit work funcion & rpc miner work
* Add resume chan
* Resume one goroutine test ok
* Fix a bug about resume
* Fix a bug, solveWork not quit
* Change import sequence
* Fix merge build failed
* loop call miner
* Fix a bug solveWork stop problem
Paladz [Wed, 31 Jan 2018 07:10:02 +0000 (15:10 +0800)]
super clean tensority init push (#337)
* super clean tensority init push
* modify hashMatrix
yahtoo [Wed, 31 Jan 2018 07:09:05 +0000 (15:09 +0800)]
Add import private key progress query (#331)
* Add import private key progress query
* Add xpub return when get progress
* Store account address index separately
* Add private key import complete flag
* Add import private key rollback process
* Refactor private key import code
* Fix the divisor zero problem
* Fix rescan progress return logic problem
* Fix variable reading and writing conflicts
李永峰 [Tue, 30 Jan 2018 07:48:21 +0000 (15:48 +0800)]
check key and account before import key (#335)
* check key and account before import key
* leverate error return
* remove unused function
Paladz [Mon, 29 Jan 2018 12:08:35 +0000 (20:08 +0800)]
Tensority (#334)
* add support lib for tensority
* add ltc scrypt algorithm
Paladz [Mon, 29 Jan 2018 11:51:16 +0000 (19:51 +0800)]
add support lib for tensority (#333)
icodezjb [Mon, 29 Jan 2018 05:45:48 +0000 (13:45 +0800)]
Make sure that coinbase utxo which has been some blocks confirmed whe… (#326)
* Make sure that coinbase utxo which has been some blocks confirmed when build transation
* remove utxo cache
* ErrMatchUTXO and ErrReservation
* return pending error
* code clean
Paladz [Mon, 29 Jan 2018 02:02:00 +0000 (10:02 +0800)]
Txpool upgrade (#327)
* change the block time from ms to second
* update block header time from ms to scond
* limit block max time
* txpool add uncommit utxo
* txpool remove tx will clean the utxo map
* tx add max time
* update for code review
* add log info
Liu-Cheng Xu [Thu, 25 Jan 2018 06:25:27 +0000 (14:25 +0800)]
Don't init native asset in init function (#324)
* Don't init native asset in init function
Previously, the init of logrus is after the invoke of creating native
asset, which may lead to incomplete logging.
* InitNativeAsset before NewRegistry
* Call initNativeAsset in NewRegistry
李永峰 [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