OSDN Git Service

bytom/bytom.git
5 years agoMerge pull request #1386 from Bytom/dev v1.0.6rc1
Paladz [Mon, 8 Oct 2018 05:35:23 +0000 (13:35 +0800)]
Merge pull request #1386 from Bytom/dev

Dev

5 years agoMerge pull request #1384 from Bytom/releae-log
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

5 years agoadd 1.0.6 release log
paladz [Mon, 8 Oct 2018 03:23:22 +0000 (11:23 +0800)]
add 1.0.6 release log

5 years agoMerge pull request #1383 from Bytom/add_check_point
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

5 years agoadd checkpoint and version
paladz [Mon, 8 Oct 2018 01:23:09 +0000 (09:23 +0800)]
add checkpoint and version

5 years agoMerge pull request #1378 from Bytom/submit-block
Paladz [Fri, 5 Oct 2018 06:20:42 +0000 (14:20 +0800)]
Merge pull request #1378 from Bytom/submit-block

Add /submit-block

5 years agoMerge pull request #1379 from Bytom/fix_bug
Paladz [Fri, 5 Oct 2018 06:19:34 +0000 (14:19 +0800)]
Merge pull request #1379 from Bytom/fix_bug

fix dead lock bug

5 years agofix dead lock bug
paladz [Fri, 5 Oct 2018 06:15:05 +0000 (14:15 +0800)]
fix dead lock bug

5 years agoAdd /submit-block
HAOYUatHZ [Thu, 4 Oct 2018 09:12:56 +0000 (17:12 +0800)]
Add /submit-block

5 years agoSupport chain tx (#1365)
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

5 years agoupdate dashboard (#1371)
Zhiting Lin [Mon, 1 Oct 2018 12:06:04 +0000 (20:06 +0800)]
update dashboard (#1371)

5 years agoFix mnemonic resp format (#1372)
HAOYUatHZ [Mon, 1 Oct 2018 11:52:12 +0000 (19:52 +0800)]
Fix mnemonic resp format (#1372)

5 years ago list-balances and list-unspent-outputs add filter by account (#1368)
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

5 years agofix bug (#1369)
Paladz [Sun, 30 Sep 2018 08:33:42 +0000 (16:33 +0800)]
fix bug (#1369)

5 years agoedit_config (#1363)
Paladz [Sat, 29 Sep 2018 09:03:41 +0000 (17:03 +0800)]
edit_config (#1363)

5 years agoadd log with error info for tx status_fail (#1361)
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

5 years agofix bug for calculate hash rate (#1362)
Paladz [Sat, 29 Sep 2018 06:12:39 +0000 (14:12 +0800)]
fix bug for calculate hash rate (#1362)

5 years agomove decode_program to wallet api list (#1360)
Paladz [Sat, 29 Sep 2018 02:06:17 +0000 (10:06 +0800)]
move decode_program to wallet api list (#1360)

5 years agofix get-unconfirmed-transaction mux_id 0 bug (#1358)
Paladz [Sat, 29 Sep 2018 01:53:57 +0000 (09:53 +0800)]
fix get-unconfirmed-transaction mux_id 0 bug (#1358)

5 years agoupdate dashboard and equity frontend. (#1354)
Zhiting Lin [Wed, 26 Sep 2018 17:39:47 +0000 (01:39 +0800)]
update dashboard and equity frontend. (#1354)

5 years agoMerge pull request #1353 from Bytom/dev
yahtoo [Tue, 25 Sep 2018 05:54:28 +0000 (13:54 +0800)]
Merge pull request #1353 from Bytom/dev

Dev

5 years agoFix ErrBadQuorum description (#1346)
HAOYUatHZ [Tue, 18 Sep 2018 08:21:06 +0000 (16:21 +0800)]
Fix ErrBadQuorum description (#1346)

5 years agobug fix for error process when tx mashal (#1345)
muscle_boy [Tue, 18 Sep 2018 02:10:33 +0000 (10:10 +0800)]
bug fix for error process when tx mashal (#1345)

5 years agotransaction return witnessArguments (#1343)
oysheng [Fri, 14 Sep 2018 08:04:54 +0000 (16:04 +0800)]
transaction return witnessArguments  (#1343)

* add witnessArguments

* optimise

5 years agoMerge pull request #1342 from Bytom/delete_folder
Paladz [Thu, 13 Sep 2018 11:59:43 +0000 (19:59 +0800)]
Merge pull request #1342 from Bytom/delete_folder

delete the unused

5 years agodelete the unused
paladz [Thu, 13 Sep 2018 11:55:32 +0000 (19:55 +0800)]
delete the unused

5 years agoMerge pull request #1340 from Bytom/edit_bug
Paladz [Wed, 12 Sep 2018 08:09:50 +0000 (16:09 +0800)]
Merge pull request #1340 from Bytom/edit_bug

revert pr

5 years agorevert pr
paladz [Wed, 12 Sep 2018 08:06:42 +0000 (16:06 +0800)]
revert pr

5 years agofix split host and port (#1335)
Derek [Wed, 12 Sep 2018 07:12:36 +0000 (15:12 +0800)]
fix split host and port (#1335)

5 years agoMerge pull request #1338 from Bytom/dev-asset
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

5 years agoadd get-raw-block api (#1337)
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

5 years agofix restore assetalias
oysheng [Wed, 12 Sep 2018 06:46:55 +0000 (14:46 +0800)]
fix restore assetalias

5 years agoMerge pull request #1336 from Bytom/fix_map_bug
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

5 years agofix bug for concurrent map access
paladz [Wed, 12 Sep 2018 06:27:35 +0000 (14:27 +0800)]
fix bug for concurrent map access

5 years agoMerge pull request #1333 from Bytom/dev
Paladz [Tue, 11 Sep 2018 06:30:46 +0000 (14:30 +0800)]
Merge pull request #1333 from Bytom/dev

Dev

5 years agoMerge pull request #1332 from Bytom/mnemonic
Paladz [Tue, 11 Sep 2018 05:59:39 +0000 (13:59 +0800)]
Merge pull request #1332 from Bytom/mnemonic

Modify createKeyResp structure

5 years agoModify createKeyResp structure
Yahtoo Ma [Tue, 11 Sep 2018 03:48:04 +0000 (11:48 +0800)]
Modify createKeyResp structure

5 years agoMerge pull request #1331 from Bytom/mnemonic
Paladz [Tue, 11 Sep 2018 02:59:52 +0000 (10:59 +0800)]
Merge pull request #1331 from Bytom/mnemonic

Set the mnemonic default language

5 years agoSet the mnemonic default language
Yahtoo Ma [Tue, 11 Sep 2018 02:27:17 +0000 (10:27 +0800)]
Set the mnemonic default language

5 years agoMerge pull request #1330 from Bytom/dev-fix-test-bug
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

5 years agofix test bug
Chengcheng Zhang [Tue, 11 Sep 2018 01:50:55 +0000 (09:50 +0800)]
fix test bug

5 years agoMerge pull request #1329 from Bytom/dev
Paladz [Mon, 10 Sep 2018 15:04:54 +0000 (23:04 +0800)]
Merge pull request #1329 from Bytom/dev

Dev

5 years agoAdd wallet mnemonic multi language support (#1327)
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)

5 years agoAdd wallet mnemonic function (#1323)
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

5 years agofix bug for process block (#1324)
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

5 years agoMerge pull request #1325 from Bytom/code-review
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

5 years agoAdd block msg unmarshal error check
Yahtoo Ma [Thu, 6 Sep 2018 02:52:25 +0000 (10:52 +0800)]
Add block msg unmarshal error check

5 years agoMerge pull request #1321 from Bytom/list-address-modify
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

5 years agolist address return the key_index
paladz [Wed, 5 Sep 2018 02:28:46 +0000 (10:28 +0800)]
list address return the key_index

5 years agoModify data path (#1320)
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

5 years agomodify user data path (#1316)
muscle_boy [Tue, 4 Sep 2018 11:14:47 +0000 (19:14 +0800)]
modify user data path (#1316)

* modify user data path

* refactor

5 years ago:art:Refine code (#1315)
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

5 years agoMerge pull request #1314 from Bytom/dev
Paladz [Mon, 3 Sep 2018 01:57:10 +0000 (09:57 +0800)]
Merge pull request #1314 from Bytom/dev

Dev

5 years agoFix (#1310)
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

5 years agoClean vendor (#1309)
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

5 years agoadd merkle proof api (#1308)
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

5 years agocheck db_backend before new_store to avoid panic (#656) (#1279)
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)

5 years ago get maxTxFee by config (#1292)
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

5 years agop2p/discv5: fix idx can be negative after uint convert to int(can cause crash) (...
yahtoo [Fri, 31 Aug 2018 05:48:40 +0000 (13:48 +0800)]
p2p/discv5: fix idx can be negative after uint convert to int(can cause crash) (#1307)

5 years agofix uint64 json unmarshal bug in bytomcli (#1106) (#1277)
Wenchao Hu [Fri, 31 Aug 2018 03:14:36 +0000 (11:14 +0800)]
fix uint64 json unmarshal bug in bytomcli (#1106) (#1277)

* fix the coinbase generate bug (#1136)

* fix pprof port conflict (#1215)

* fix pprof port conflict

* fix pprof port conflict again

* fix uint64 json unmarshal bug in bytomcli (#1106)

5 years agoMerge pull request #1304 from Bytom/add_unit_test
Paladz [Fri, 31 Aug 2018 02:40:22 +0000 (10:40 +0800)]
Merge pull request #1304 from Bytom/add_unit_test

add unit test for version compare

5 years ago:memo: Add doc for version package (#1305)
HAOYUatHZ [Fri, 31 Aug 2018 02:40:03 +0000 (10:40 +0800)]
:memo: Add doc for version package (#1305)

* :memo: Add doc for version package

* :bug: Fix version test

5 years ago:memo: Update README (#1306)
HAOYUatHZ [Fri, 31 Aug 2018 02:23:42 +0000 (10:23 +0800)]
:memo: Update README (#1306)

5 years agorm sync (#1276)
Derek [Thu, 30 Aug 2018 08:05:18 +0000 (16:05 +0800)]
rm sync (#1276)

* fix the coinbase generate bug (#1136)

* rm sync

5 years agoadd unit test for version compare
paladz [Thu, 30 Aug 2018 05:47:55 +0000 (13:47 +0800)]
add unit test for version compare

5 years agoMerge pull request #1303 from Bytom/dev
Paladz [Thu, 30 Aug 2018 03:18:30 +0000 (11:18 +0800)]
Merge pull request #1303 from Bytom/dev

Dev

5 years agoFix version test (#1301)
HAOYUatHZ [Thu, 30 Aug 2018 03:13:34 +0000 (11:13 +0800)]
Fix version test (#1301)

* :white_check_mark: Add version comparison test

* :art: Macros revision len

* :white_check_mark: Add version flag test

* Update comments

* Update comments

* Fix typo

* Fix test

5 years agoadd v1.0.5 release note (#1296)
Paladz [Thu, 30 Aug 2018 02:41:17 +0000 (10:41 +0800)]
add v1.0.5 release note (#1296)

* add v1.0.5 release note

* garmmarly

* Fix release-note format

* Fix typo

5 years agoMerge pull request #1298 from Bytom/add_check_point
Paladz [Thu, 30 Aug 2018 02:40:54 +0000 (10:40 +0800)]
Merge pull request #1298 from Bytom/add_check_point

add check point

5 years agoadd check point
paladz [Thu, 30 Aug 2018 02:34:04 +0000 (10:34 +0800)]
add check point

5 years ago:white_check_mark: Add version comparison test (#1294)
HAOYUatHZ [Wed, 29 Aug 2018 14:00:31 +0000 (22:00 +0800)]
:white_check_mark: Add version comparison test (#1294)

* :white_check_mark: Add version comparison test

* :art: Macros revision len

* :white_check_mark: Add version flag test

* Update comments

* Update comments

* Fix typo

5 years agoadd test case for send merkle block (#1289)
muscle_boy [Wed, 29 Aug 2018 13:49:44 +0000 (21:49 +0800)]
add test case for send merkle block (#1289)

* 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

5 years agoMerge pull request #1293 from Bytom/add_unit_test
Paladz [Wed, 29 Aug 2018 12:24:29 +0000 (20:24 +0800)]
Merge pull request #1293 from Bytom/add_unit_test

add unit test for orphan manage

5 years agoadd unit test for orphan manage
paladz [Wed, 29 Aug 2018 11:55:22 +0000 (19:55 +0800)]
add unit test for orphan manage

5 years agoMerge pull request #1291 from Bytom/front-end
Paladz [Wed, 29 Aug 2018 08:18:14 +0000 (16:18 +0800)]
Merge pull request #1291 from Bytom/front-end

update the front end.

5 years agoupdate the front end.
Zhiting Lin [Wed, 29 Aug 2018 08:15:20 +0000 (16:15 +0800)]
update the front end.

5 years agoadd tx fee max limit (#1287)
oysheng [Tue, 28 Aug 2018 07:34:29 +0000 (15:34 +0800)]
add tx fee max limit (#1287)

* add tx fee max limit

* optimise

5 years agofix bug for wrong utxo balance on wallet model (#1285)
Paladz [Tue, 28 Aug 2018 02:24:25 +0000 (10:24 +0800)]
fix bug for wrong utxo balance on wallet model (#1285)

* fix bug for wrong utxo balance on wallet model

* clean the code

* detach utxo should in the reverse order

* fix the code format

* clear teh error message

5 years ago:white_check_mark: Check arbitrary len limit (#1283)
HAOYUatHZ [Mon, 27 Aug 2018 11:05:38 +0000 (19:05 +0800)]
:white_check_mark: Check arbitrary len limit (#1283)

* Check arbitrary len limit

* Fix typo

5 years agoadd issue program error (#1281)
oysheng [Mon, 27 Aug 2018 07:22:35 +0000 (15:22 +0800)]
add issue program error (#1281)

* add issue program error

* optimise

5 years agoMerge pull request #1280 from Bytom/dev
Paladz [Mon, 27 Aug 2018 01:46:07 +0000 (09:46 +0800)]
Merge pull request #1280 from Bytom/dev

Dev

5 years agoupdate dashboard. (#1274)
Zhiting Lin [Fri, 24 Aug 2018 07:43:36 +0000 (15:43 +0800)]
update dashboard. (#1274)

5 years agoFull node prohibit connect to spv node (#1272)
muscle_boy [Fri, 24 Aug 2018 06:24:54 +0000 (14:24 +0800)]
Full node prohibit connect to spv node (#1272)

* 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

5 years agoedit version to the next release (#1269)
Paladz [Fri, 24 Aug 2018 03:08:32 +0000 (11:08 +0800)]
edit version to the next release (#1269)

5 years agoDev wallet sa (#1268)
muscle_boy [Thu, 23 Aug 2018 06:39:07 +0000 (14:39 +0800)]
Dev wallet sa (#1268)

* 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

5 years agospv merkle tree proof (#1262)
muscle_boy [Thu, 23 Aug 2018 02:50:08 +0000 (10:50 +0800)]
spv merkle tree proof (#1262)

* 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

5 years agodelete redundant error (#1267)
oysheng [Thu, 23 Aug 2018 02:14:11 +0000 (10:14 +0800)]
delete redundant error (#1267)

5 years agoclean miningpool (#1265)
HAOYUatHZ [Wed, 22 Aug 2018 07:55:14 +0000 (15:55 +0800)]
clean miningpool (#1265)

* :zap: Improve miningpool blockUpdater()

* :fire: Clean up

* Rename minepool.go to miningpool.go

* :art: No need to change timestamp

* :fire: clean import

5 years ago:zap: Improve miningpool blockUpdater() (#1264)
HAOYUatHZ [Tue, 21 Aug 2018 13:41:15 +0000 (21:41 +0800)]
:zap: Improve miningpool blockUpdater() (#1264)

* :zap: Improve miningpool blockUpdater()

* :fire: Clean up

5 years ago:sparkles: Add new version for version in /net-info (#1263)
HAOYUatHZ [Tue, 21 Aug 2018 11:53:04 +0000 (19:53 +0800)]
:sparkles: Add new version for version in /net-info (#1263)

* pause

* Add version control

* Merge

* Add reset for notifiedTimes

* Fix logic

* Fix bugs

* Fix infinite loops for updating maxVerSeen

* Add 1.0.3 CompatibleWith rule.

* Fix deprecate bugs.

* :shirt: clean up.

* :zap: Pause

* :zap: Use github.com/hashicorp/go-version.

* :zap: Revert to original versioning system.

* :heavy_minus_sign: Remove CheckUpdate msgs

* :heavy_minus_sign: Clean up imports.

* :construction: Debugging sw.Peers()

* :construction: Trying to fix import cycle.

* :sparkles: Versioning.

* :art: Refine

* :hammer: Reconstrcut update struct

* :art: log withfiels in version

* :lock: Add error check for CompatibleWith()

* :art: Clean up.

* :memo: Add docs for CheckUpdate

* :art: Use iota for version status

* :hammer: Add lock for version statu

* :pencil2: Fix typo

* :art: Change version status feilds to private

* :art: Refact UpdateStatus{}

* :fire: Clean up.

* :sparkles: Add VersionInfo

5 years ago:sparkles: Add version notification (#1258)
HAOYUatHZ [Tue, 21 Aug 2018 08:53:19 +0000 (16:53 +0800)]
:sparkles: Add version notification (#1258)

* pause

* Add version control

* Merge

* Add reset for notifiedTimes

* Fix logic

* Fix bugs

* Fix infinite loops for updating maxVerSeen

* Add 1.0.3 CompatibleWith rule.

* Fix deprecate bugs.

* :shirt: clean up.

* :zap: Pause

* :zap: Use github.com/hashicorp/go-version.

* :zap: Revert to original versioning system.

* :heavy_minus_sign: Remove CheckUpdate msgs

* :heavy_minus_sign: Clean up imports.

* :construction: Debugging sw.Peers()

* :construction: Trying to fix import cycle.

* :sparkles: Versioning.

* :art: Refine

* :hammer: Reconstrcut update struct

* :art: log withfiels in version

* :lock: Add error check for CompatibleWith()

* :art: Clean up.

* :memo: Add docs for CheckUpdate

* :art: Use iota for version status

* :hammer: Add lock for version statu

* :pencil2: Fix typo

* :art: Change version status feilds to private

* :art: Refact UpdateStatus{}

* :fire: Clean up.

5 years agoMerge pull request #1260 from Bytom/dev
Paladz [Mon, 20 Aug 2018 15:04:21 +0000 (23:04 +0800)]
Merge pull request #1260 from Bytom/dev

Dev

5 years agoFrontend (#1259)
Zhiting Lin [Mon, 20 Aug 2018 08:46:51 +0000 (16:46 +0800)]
Frontend (#1259)

* Add the translation to  contract

* update dashboard.

5 years agoadd filter load message process (#1255)
muscle_boy [Thu, 16 Aug 2018 02:37:21 +0000 (10:37 +0800)]
add filter load message process (#1255)

* 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

5 years agoFix pool bug (#1254)
Paladz [Tue, 14 Aug 2018 11:19:33 +0000 (19:19 +0800)]
Fix pool bug (#1254)

* fix use wrong type of lock bug

* fix wrong type of lock bug

5 years agocreate-asset add user defined contract for issue-program (#1245)
oysheng [Tue, 14 Aug 2018 11:19:10 +0000 (19:19 +0800)]
create-asset add user defined contract for issue-program (#1245)

* create-asset add user defined contract for issue-program

* fix signer is nil

* extracting common functions AddContractArgs

5 years agolist-accounts add filter alias (#1253)
oysheng [Tue, 14 Aug 2018 07:25:41 +0000 (15:25 +0800)]
list-accounts add filter alias (#1253)

5 years agoadd spv message struct (#1251)
muscle_boy [Mon, 13 Aug 2018 11:57:19 +0000 (19:57 +0800)]
add spv message struct (#1251)

* 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

5 years agoRearrange (#1252)
HAOYUatHZ [Mon, 13 Aug 2018 11:26:46 +0000 (19:26 +0800)]
Rearrange (#1252)

5 years agoFix $HOME env (#1250)
HAOYUatHZ [Mon, 13 Aug 2018 10:31:39 +0000 (18:31 +0800)]
Fix $HOME env (#1250)

* Fix $HOME env

* Use strings.Join() to concat