OSDN Git Service
Paladz [Fri, 16 Nov 2018 05:39:18 +0000 (13:39 +0800)]
Merge pull request #1476 from Bytom/dashboard
update the dashboard mnemonic words to 12.
Zhiting Lin [Fri, 16 Nov 2018 05:27:16 +0000 (13:27 +0800)]
update the dashboard mnemonic words to 12.
Paladz [Fri, 16 Nov 2018 03:58:16 +0000 (11:58 +0800)]
Merge pull request #1474 from Bytom/wallet-bip44
Unified bip44 path filed length and endian
Yahtoo Ma [Fri, 16 Nov 2018 03:44:17 +0000 (11:44 +0800)]
Unified bip44 path filed length and endian
Paladz [Fri, 16 Nov 2018 02:56:10 +0000 (10:56 +0800)]
Merge pull request #1472 from Bytom/mnemonic
Change mnemonic length to 12
Yahtoo Ma [Fri, 16 Nov 2018 02:24:07 +0000 (10:24 +0800)]
Change mnemonic length to 12
Paladz [Fri, 16 Nov 2018 02:46:07 +0000 (10:46 +0800)]
Merge pull request #1473 from Bytom/dev-readme
update readme
Chengcheng Zhang [Fri, 16 Nov 2018 02:43:53 +0000 (10:43 +0800)]
update readme
Paladz [Fri, 16 Nov 2018 02:16:10 +0000 (10:16 +0800)]
Merge pull request #1471 from Bytom/fix_time
Fix time format in list-peers
HAOYUatHZ [Fri, 16 Nov 2018 02:10:03 +0000 (10:10 +0800)]
Fix time format in list-peers
yahtoo [Thu, 15 Nov 2018 10:37:21 +0000 (18:37 +0800)]
Fix wallet recovery test fail (#1469)
Zhiting Lin [Thu, 15 Nov 2018 09:35:53 +0000 (17:35 +0800)]
update dashboard. (#1468)
John Chi [Thu, 15 Nov 2018 08:06:13 +0000 (16:06 +0800)]
fix(api): delete transactions and rescan blocks after updating account alias (#1466)
Chengcheng Zhang [Thu, 15 Nov 2018 07:05:25 +0000 (15:05 +0800)]
Dev fix control (#1462)
* fix deleteaccount
* delete utxo
* update
* delete tx
* add make install
* add some functions
* update
* add DeleteAccout in wallet
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
* update
Zhiting Lin [Wed, 14 Nov 2018 12:01:24 +0000 (20:01 +0800)]
update dashboard. (#1463)
yahtoo [Wed, 14 Nov 2018 10:49:50 +0000 (18:49 +0800)]
Add wallet recovery from mnemonic function (#1439)
* Add wallet recovery from mnemonic function
* Fix test error
* Add getCurrentContractIndex func
* Fix review bug
* Add CreateBatchAddresses func
* Fix review bug
* Opz code logic
* Fix test error
* Fix review bug
* Fix review bug
* Opz code logic
* Fix code format err
* Fix code format err
* Fix code format err
* Fix format err
* Del unused parameter
* Opz code logic
* Fix bug
* Change paramter name
* Opz code logic
* Del unused code
* Add recovery mgr trylock/unlock
* Opz code logic
* Opz code format
* Opz code format
* Add test file
* Opz code logic
* Fix test file err
* Opz code logic
* Fix contract index not updated err
* Opz code logic
* Opz code logic
* Fix test error
* Opz code format
* Opz code logic
* Fix review bug
* Fix review bug
* Fix review bug
* Fix account nil bug
* Add test case
TestRecoveryFromXPubs
TestRecoveryByRescanAccount
John Chi [Wed, 14 Nov 2018 10:19:39 +0000 (18:19 +0800)]
Add Update Account Alias Api (#1461)
* feat(api): add update account alias api
* feat(api): update account alias api add account_alias parameter
* fix(api): delete old alias from database when update account alias
oysheng [Wed, 14 Nov 2018 03:07:22 +0000 (11:07 +0800)]
add update-key-alias (#1460)
* add update-key-alias
* optimise
* optimise test
* optmise
oysheng [Tue, 13 Nov 2018 02:35:11 +0000 (10:35 +0800)]
modify dashboard directory (#1453)
Zhiting Lin [Tue, 13 Nov 2018 02:32:40 +0000 (10:32 +0800)]
update mnemonic dashboard (#1458)
oysheng [Tue, 13 Nov 2018 02:31:09 +0000 (10:31 +0800)]
new equity compiler (#1459)
* new equity compiler
* equity compiler tool
* delete value
* update equity front end.
* optimise
* update equity front end.
* update equity dashboard.
* delete unrelated file
oysheng [Thu, 8 Nov 2018 10:29:50 +0000 (18:29 +0800)]
fix asset alias (#1456)
* fix asset alias
* optimise
John Chi [Thu, 8 Nov 2018 08:27:10 +0000 (16:27 +0800)]
Add SOCKS5 Protocol Support (#1455)
* feat(p2p connection): add SOCKS5 protocol support
* refactor(p2p connection): code refactoring
Chengcheng Zhang [Tue, 6 Nov 2018 08:51:59 +0000 (16:51 +0800)]
update (#1451)
oysheng [Tue, 6 Nov 2018 03:05:10 +0000 (11:05 +0800)]
AnnotatedInput add AssetDifinition for issue (#1450)
* AnnotatedInput return AssetDifinition for issue
* add check
* optimise
Chengcheng Zhang [Mon, 5 Nov 2018 07:40:00 +0000 (15:40 +0800)]
update checkpoint (#1448)
wz [Mon, 5 Nov 2018 03:45:22 +0000 (11:45 +0800)]
Dev ws notification (#1442)
* add websocket
* Implementing block notifications
* Code adjustment structure
* Remove the dependency on protocol
* Add transaction notice
* modify Message notification type
* modify func name
* Roll back file content
* add error for websocket
* add the package to vendor
* Trimming code
* Adjust the code
Paladz [Thu, 1 Nov 2018 06:58:27 +0000 (14:58 +0800)]
Merge pull request #1440 from Bytom/dev_websocket_package
add websocket for vendor
wz [Thu, 1 Nov 2018 06:02:26 +0000 (14:02 +0800)]
add websocket for vendor
Paladz [Tue, 30 Oct 2018 03:52:44 +0000 (11:52 +0800)]
Merge pull request #1434 from Bytom/ping_type
Fix typos
HAOYUatHZ [Tue, 30 Oct 2018 03:24:21 +0000 (11:24 +0800)]
Fix typos
Paladz [Tue, 30 Oct 2018 02:38:50 +0000 (10:38 +0800)]
Merge pull request #1431 from Bytom/fix_bug
remove the unused space
paladz [Tue, 30 Oct 2018 02:35:46 +0000 (10:35 +0800)]
remove the unused space
Paladz [Tue, 30 Oct 2018 02:25:03 +0000 (10:25 +0800)]
Merge pull request #1430 from Bytom/net_info
add net performance
paladz [Mon, 29 Oct 2018 14:14:21 +0000 (22:14 +0800)]
add net performance
Paladz [Mon, 29 Oct 2018 04:03:43 +0000 (12:03 +0800)]
Merge pull request #1427 from Bytom/add_performance_log
add cpu log
Paladz [Mon, 29 Oct 2018 01:48:34 +0000 (09:48 +0800)]
Merge pull request #1428 from Bytom/timestamp
Refresh timestamp when get-work
HAOYUatHZ [Sun, 28 Oct 2018 12:38:21 +0000 (20:38 +0800)]
Refresh timestamp when get-work
paladz [Fri, 26 Oct 2018 09:55:03 +0000 (17:55 +0800)]
add cpu log
oysheng [Thu, 25 Oct 2018 08:45:18 +0000 (16:45 +0800)]
fix error response for compile contract (#1424)
* fix error response for compile contract
* optimise
* fix excepted contract check
* optimise
oysheng [Thu, 25 Oct 2018 05:54:16 +0000 (13:54 +0800)]
add the other type of contract arguments include string, integer, boolean (#1418)
* support recursive contract
* add the other type of contract arguments include string, integer, boolean
* optimise
* modify test
yahtoo [Tue, 23 Oct 2018 12:41:10 +0000 (20:41 +0800)]
Bip44 wallet (#1409)
* Fix account index mixing problem
Fix account index mixing problem created by different XPubs,
discontinuous indexes affect the account recovery of XPubs.
* Modify the address derivation mode to bip44
* Fix test file error
* Fix key index coverage problem
* Fix test file error
* Optimize code format
* Optimize code format
* Optimize code format
* Add duplicate account index check
* Add test case
bip32 and bip44 utxo in a tx
* Fix logic error
* Fix test error
* Optimize code format
* Fix logic error
* Fix logic error
* Fix review problem
* Fix XPubs account index get/set logic
* Fix TestListAssets test bug
* Revert asset related modification
* Add account index key prefix
* Revert asset related modification
* Optimize code format
* Fix GetAccountIndexKey bug
* Fix signMessage error
* Fix review bug
* Add test case
TestGetAccountIndexKey
Chengcheng Zhang [Fri, 19 Oct 2018 02:12:29 +0000 (10:12 +0800)]
add go install (#1416)
* add go install
* update
* update
cancelloveyan [Tue, 16 Oct 2018 05:51:42 +0000 (13:51 +0800)]
remove redundant code (#1400)
* 删除重复定义的变量代码
* 优化抽出公共代码
Paladz [Mon, 15 Oct 2018 10:33:54 +0000 (18:33 +0800)]
Net analysis (#1402)
* clean the unused code
* add log moudle to netsync logs
* fix code format issue
* edit the log
Paladz [Wed, 10 Oct 2018 07:12:43 +0000 (15:12 +0800)]
build-transaction return gas (#1391)
* build-transaction return gas
* golint the code
Paladz [Tue, 9 Oct 2018 10:43:44 +0000 (18:43 +0800)]
/restore-wallet, /backup-wallet only accept local access (#1388)
* /restore-wallet, /backup-wallet only accept local access
* fix error issue
Paladz [Mon, 8 Oct 2018 05:28:23 +0000 (13:28 +0800)]
Merge pull request #1384 from Bytom/releae-log
add 1.0.6 release log
paladz [Mon, 8 Oct 2018 03:23:22 +0000 (11:23 +0800)]
add 1.0.6 release log
Paladz [Mon, 8 Oct 2018 01:26:35 +0000 (09:26 +0800)]
Merge pull request #1383 from Bytom/add_check_point
add checkpoint and version
paladz [Mon, 8 Oct 2018 01:23:09 +0000 (09:23 +0800)]
add checkpoint and version
Paladz [Fri, 5 Oct 2018 06:20:42 +0000 (14:20 +0800)]
Merge pull request #1378 from Bytom/submit-block
Add /submit-block
Paladz [Fri, 5 Oct 2018 06:19:34 +0000 (14:19 +0800)]
Merge pull request #1379 from Bytom/fix_bug
fix dead lock bug
paladz [Fri, 5 Oct 2018 06:15:05 +0000 (14:15 +0800)]
fix dead lock bug
HAOYUatHZ [Thu, 4 Oct 2018 09:12:56 +0000 (17:12 +0800)]
Add /submit-block
yahtoo [Tue, 2 Oct 2018 11:22:12 +0000 (19:22 +0800)]
Support chain tx (#1365)
* Support chain tx
* Optimization code
* Optimization code
* Update test file
* Optimization code
* Fix chain tx packaging problem
* Review chain tx v2 (#1373)
* edit the code formate
* edit the code format
* edit the formate
* edit the code format
* edit the code format
* edit the dormat
* edit the code format
* edit the code format
* edit the code
* edit the code
* edit the code format
* edit the code format
* edit the code formate
* edit the code format
* edit the code
* add unit test for calcMergeGas
* add unit test for TestReserveBtmUtxoChain
* add unit test for TestBuildBtmTxChain
* edit for code style
* edit the api parameter
* fix wallet display bug
Zhiting Lin [Mon, 1 Oct 2018 12:06:04 +0000 (20:06 +0800)]
update dashboard (#1371)
HAOYUatHZ [Mon, 1 Oct 2018 11:52:12 +0000 (19:52 +0800)]
Fix mnemonic resp format (#1372)
oysheng [Sun, 30 Sep 2018 08:59:12 +0000 (16:59 +0800)]
list-balances and list-unspent-outputs add filter by account (#1368)
* list-balances and list-unspent-outputs add filter by account
* modify test
Paladz [Sun, 30 Sep 2018 08:33:42 +0000 (16:33 +0800)]
fix bug (#1369)
Paladz [Sat, 29 Sep 2018 09:03:41 +0000 (17:03 +0800)]
edit_config (#1363)
oysheng [Sat, 29 Sep 2018 07:33:50 +0000 (15:33 +0800)]
add log with error info for tx status_fail (#1361)
* add log with error info for tx status_fail
* optimise
Paladz [Sat, 29 Sep 2018 06:12:39 +0000 (14:12 +0800)]
fix bug for calculate hash rate (#1362)
Paladz [Sat, 29 Sep 2018 02:06:17 +0000 (10:06 +0800)]
move decode_program to wallet api list (#1360)
Paladz [Sat, 29 Sep 2018 01:53:57 +0000 (09:53 +0800)]
fix get-unconfirmed-transaction mux_id 0 bug (#1358)
Zhiting Lin [Wed, 26 Sep 2018 17:39:47 +0000 (01:39 +0800)]
update dashboard and equity frontend. (#1354)
HAOYUatHZ [Tue, 18 Sep 2018 08:21:06 +0000 (16:21 +0800)]
Fix ErrBadQuorum description (#1346)
muscle_boy [Tue, 18 Sep 2018 02:10:33 +0000 (10:10 +0800)]
bug fix for error process when tx mashal (#1345)
oysheng [Fri, 14 Sep 2018 08:04:54 +0000 (16:04 +0800)]
transaction return witnessArguments (#1343)
* add witnessArguments
* optimise
Paladz [Thu, 13 Sep 2018 11:59:43 +0000 (19:59 +0800)]
Merge pull request #1342 from Bytom/delete_folder
delete the unused
paladz [Thu, 13 Sep 2018 11:55:32 +0000 (19:55 +0800)]
delete the unused
Paladz [Wed, 12 Sep 2018 08:09:50 +0000 (16:09 +0800)]
Merge pull request #1340 from Bytom/edit_bug
revert pr
paladz [Wed, 12 Sep 2018 08:06:42 +0000 (16:06 +0800)]
revert pr
Derek [Wed, 12 Sep 2018 07:12:36 +0000 (15:12 +0800)]
fix split host and port (#1335)
Paladz [Wed, 12 Sep 2018 07:06:07 +0000 (15:06 +0800)]
Merge pull request #1338 from Bytom/dev-asset
fix restore-wallet assetalias error
muscle_boy [Wed, 12 Sep 2018 06:56:30 +0000 (14:56 +0800)]
add get-raw-block api (#1337)
* add get-raw-block api
* add get-raw-block api
oysheng [Wed, 12 Sep 2018 06:46:55 +0000 (14:46 +0800)]
fix restore assetalias
Paladz [Wed, 12 Sep 2018 06:39:52 +0000 (14:39 +0800)]
Merge pull request #1336 from Bytom/fix_map_bug
fix bug for concurrent map access
paladz [Wed, 12 Sep 2018 06:27:35 +0000 (14:27 +0800)]
fix bug for concurrent map access
Paladz [Tue, 11 Sep 2018 05:59:39 +0000 (13:59 +0800)]
Merge pull request #1332 from Bytom/mnemonic
Modify createKeyResp structure
Yahtoo Ma [Tue, 11 Sep 2018 03:48:04 +0000 (11:48 +0800)]
Modify createKeyResp structure
Paladz [Tue, 11 Sep 2018 02:59:52 +0000 (10:59 +0800)]
Merge pull request #1331 from Bytom/mnemonic
Set the mnemonic default language
Yahtoo Ma [Tue, 11 Sep 2018 02:27:17 +0000 (10:27 +0800)]
Set the mnemonic default language
Paladz [Tue, 11 Sep 2018 01:59:08 +0000 (09:59 +0800)]
Merge pull request #1330 from Bytom/dev-fix-test-bug
fix test bug
Chengcheng Zhang [Tue, 11 Sep 2018 01:50:55 +0000 (09:50 +0800)]
fix test bug
yahtoo [Mon, 10 Sep 2018 10:25:48 +0000 (18:25 +0800)]
Add wallet mnemonic multi language support (#1327)
* Add wallet mnemonic multi language support
* Wallet mnemonic language type meets standards
- language (ISO 639-1) and region (ISO 3166-1 alpha-2)
yahtoo [Thu, 6 Sep 2018 14:10:34 +0000 (22:10 +0800)]
Add wallet mnemonic function (#1323)
* Add wallet mnemonic function
* Change code format
* Del unused bool return
* Optimize code structure
* Optimize code structure
muscle_boy [Thu, 6 Sep 2018 03:50:54 +0000 (11:50 +0800)]
fix bug for process block (#1324)
* bug fix for process block
* add test case
* format code
Paladz [Thu, 6 Sep 2018 03:09:15 +0000 (11:09 +0800)]
Merge pull request #1325 from Bytom/code-review
Add block msg unmarshal error check
Yahtoo Ma [Thu, 6 Sep 2018 02:52:25 +0000 (10:52 +0800)]
Add block msg unmarshal error check
Paladz [Wed, 5 Sep 2018 02:44:07 +0000 (10:44 +0800)]
Merge pull request #1321 from Bytom/list-address-modify
list address return the key_index
paladz [Wed, 5 Sep 2018 02:28:46 +0000 (10:28 +0800)]
list address return the key_index
muscle_boy [Tue, 4 Sep 2018 12:17:52 +0000 (20:17 +0800)]
Modify data path (#1320)
* modify user data path
* refactor
* bug fix
* refactor
* refactor
muscle_boy [Tue, 4 Sep 2018 11:14:47 +0000 (19:14 +0800)]
modify user data path (#1316)
* modify user data path
* refactor
HAOYUatHZ [Tue, 4 Sep 2018 06:36:51 +0000 (14:36 +0800)]
:art:Refine code (#1315)
* Fix verb.
* Clean
* Rewrite if-else chain to switch statement
* rewrite if-else chain
* toml: rewrite if-else to switch statement
* clean
* Avoid golang keyword
* rangeExprCopy: copy of ops (8192 bytes) can be avoided with &ops
* rewrite switch statement
* rewrite switch statement
* only calc length once
* rangeValCopy: each iteration copies 200 bytes (consider pointers or indexing)
* rewrite if-else to switch statement
rewrite if-else to switch statement
* Fix cannot range over &cdp (type *[]distributionPoint)
* rever switch in type propagation
* avoid use golang key word
* loop to append
* Fix shift count type
* rewrite if-else to switch statement
* remove blank line
* Avoid rangeValCopy (each iteration copies 200 bytes)
* Add err handling
* Fix
* Fix
* Rewrite if-else chain to switch statement
* :memo: Add comments
* Rework
HAOYUatHZ [Sun, 2 Sep 2018 14:00:55 +0000 (22:00 +0800)]
Fix (#1310)
* Avoid copying arrays in loops
* Add delay to refresh cycle when no seed nodes are found
HAOYUatHZ [Sun, 2 Sep 2018 13:59:54 +0000 (21:59 +0800)]
Clean vendor (#1309)
* Clean
* Clean
* Clean vendor
* Revert "Clean vendor"
This reverts commit
dd8d50c592aa3025186f88f344f50caeb6e2303c.
* Clean vendor
muscle_boy [Fri, 31 Aug 2018 07:31:38 +0000 (15:31 +0800)]
add merkle proof api (#1308)
* the transaction output amout prohibit set zero
* add network access control api
* format import code style
* refactor
* code refactor
* bug fix
* the struct node_info add json field
* estimate gas support multi-sign
* add testcase of estimate gas
* add testcase
* bug fix
* add test case
* test case refactor
* list-tx,list-address,list-utxo support partition
* list-addresses list-tx list-utxo support pagging
* refactor pagging
* fix save asset
* fix save external assets
* remove blank
* remove useless context
* remove redudant web address config
* fix bug
* remove useless ctx
* add spv message struct
* remove redundant
* refactor message struct
* refactor message struct
* add filter load message handler
* add debug log
* bug fix spv
* bug fix
* bug fix
* refactor
* refactor
* add merkle proof
* add merkle flags test case
* add multiset
* bug fix and refactor
* bug fix
* remove redundant code
* bug fix
* bug fix
* format code
* refactor merkle tree
* refactor
* refactor
* fix bug for make test
* bug fix
* move merkle tree to bc level
* NewMinedBlockMessage not broadcast to the spv node
* refactor
* refactor
* refactor
* merkle tree bug fix
* merkle tree bug fix
* limit the size of filter address
* bug fix
* refactor
* fix full node connect to spv node
* format code
* bug fix
* fix bug
* add merkle block test case
* format code
* refactor
* bug fix for merkle block case
* refactor
* add test case
* test case refactor
* refactor
* refactor test case
* refactor test case
* add test case
* add merkle proof api
* refactor
Wenchao Hu [Fri, 31 Aug 2018 06:26:42 +0000 (14:26 +0800)]
check db_backend before new_store to avoid panic (#656) (#1279)
* fix the coinbase generate bug (#1136)
* fix pprof port conflict (#1215)
* fix pprof port conflict
* fix pprof port conflict again
* check db_backend before new_store to avoid panic (#656)
oysheng [Fri, 31 Aug 2018 06:01:46 +0000 (14:01 +0800)]
get maxTxFee by config (#1292)
* add tx fee max limit
* optimise
* get maxTxFee by config
* move tx_fee to wallet
* optimise