OSDN Git Service

bytom/bytom.git
5 years agoadd Marshal and Unmarshal test for BlockHeader (#1652)
oysheng [Tue, 26 Mar 2019 02:14:05 +0000 (10:14 +0800)]
add Marshal and Unmarshal test for BlockHeader (#1652)

5 years agoadd serialize tx test (#1651)
muscle_boy [Mon, 25 Mar 2019 10:00:32 +0000 (18:00 +0800)]
add serialize tx test (#1651)

* add serialize tx test

* format code

5 years agoAdd edge test for GasState (#1647)
yahtoo [Fri, 22 Mar 2019 03:19:20 +0000 (11:19 +0800)]
Add edge test for GasState (#1647)

5 years agoadd edge test for CalcWork (#1643)
oysheng [Wed, 20 Mar 2019 10:28:17 +0000 (18:28 +0800)]
add edge test for CalcWork (#1643)

* add edge test for CalcWork

* optimise

* optimise test

5 years agofix coinbase fee bug (#1642)
Chengcheng Zhang [Tue, 19 Mar 2019 09:43:34 +0000 (17:43 +0800)]
fix coinbase fee bug (#1642)

* fix coinbase fee bug

* update

* update

5 years agoadd edge test for TestCalcNextRequiredDifficulty (#1639)
oysheng [Tue, 19 Mar 2019 05:57:08 +0000 (13:57 +0800)]
add edge test for TestCalcNextRequiredDifficulty  (#1639)

* add edge test for TestCalcNextRequiredDifficulty

* optimise

* adjust code style

* optimise

5 years agoFix cast 19-digit uint64 to float64 precision loss (#1640)
yahtoo [Tue, 19 Mar 2019 05:52:29 +0000 (13:52 +0800)]
Fix cast 19-digit uint64 to float64 precision loss (#1640)

var a uint64 = 18446744073709551615
float64(a) = 1.8446744073709552e+19
the precision of the last 2 digits is lost

5 years agofix version ci (#1641)
muscle_boy [Tue, 19 Mar 2019 05:45:00 +0000 (13:45 +0800)]
fix version ci (#1641)

* fix version ci

* fix version ci

* format code

5 years agoadd test case (#1636)
muscle_boy [Wed, 13 Mar 2019 12:07:41 +0000 (20:07 +0800)]
add test case (#1636)

5 years agoadd segwit test (#1633)
muscle_boy [Tue, 12 Mar 2019 08:42:25 +0000 (16:42 +0800)]
add segwit test (#1633)

* add segwit test

* format code

5 years agoadd store test (#1632)
muscle_boy [Tue, 12 Mar 2019 08:07:51 +0000 (16:07 +0800)]
add store test (#1632)

* add store test

* add store test

* add store test

* add store test

5 years agoMerge pull request #1629 from Bytom/entry_test
Paladz [Fri, 8 Mar 2019 06:36:02 +0000 (14:36 +0800)]
Merge pull request #1629 from Bytom/entry_test

entryID test

5 years agoentryID test
shenao78 [Fri, 8 Mar 2019 06:27:48 +0000 (14:27 +0800)]
entryID test

5 years agoadd 1.0.8 release note (#1623)
Paladz [Mon, 4 Mar 2019 07:20:35 +0000 (15:20 +0800)]
add 1.0.8 release note (#1623)

5 years agoupdate QrCode Error correction level. (#1622)
Zhiting Lin [Mon, 4 Mar 2019 06:15:01 +0000 (14:15 +0800)]
update QrCode Error correction level. (#1622)

5 years agoadd check point (#1621)
Paladz [Mon, 4 Mar 2019 03:42:42 +0000 (11:42 +0800)]
add check point (#1621)

5 years agoadd unit test for validate tx (#1620)
muscle_boy [Mon, 4 Mar 2019 03:24:44 +0000 (11:24 +0800)]
add unit test for validate tx (#1620)

* add unit test for validate tx

* add unit test for validate tx

* modify function namej

* format code

* format code

5 years agochange the version (#1618)
Paladz [Sat, 2 Mar 2019 11:22:39 +0000 (19:22 +0800)]
change the version (#1618)

5 years agoAdd case test for the thaintrading (#1617)
wz [Sat, 2 Mar 2019 11:12:23 +0000 (19:12 +0800)]
Add case test for the thaintrading (#1617)

5 years agofix the change db wallet crash case (#1615)
Paladz [Sat, 2 Mar 2019 10:12:22 +0000 (18:12 +0800)]
fix the change db wallet crash case (#1615)

* fix the change db wallet crash case

* add log

5 years agoadd test case for not btm (#1616)
wz [Sat, 2 Mar 2019 09:52:33 +0000 (17:52 +0800)]
add test case for not btm (#1616)

5 years agoRevert delete node info DefaultServices init (#1614)
yahtoo [Sat, 2 Mar 2019 07:42:35 +0000 (15:42 +0800)]
Revert delete node info DefaultServices init (#1614)

5 years agoadd case of detach and attach block for normal tx (#1613)
wz [Sat, 2 Mar 2019 07:37:29 +0000 (15:37 +0800)]
add case of detach and attach block for normal tx (#1613)

* add case of detach and attach block for normal tx

* modify hash value

5 years agoMerge pull request #1612 from Bytom/pprof
Paladz [Sat, 2 Mar 2019 06:17:37 +0000 (14:17 +0800)]
Merge pull request #1612 from Bytom/pprof

Revert pprof func

5 years agoRevert del pprof func
Yahtoo Ma [Sat, 2 Mar 2019 06:10:51 +0000 (14:10 +0800)]
Revert del pprof func

5 years agoDev utxo unit test (#1606)
wz [Sat, 2 Mar 2019 03:23:31 +0000 (11:23 +0800)]
Dev utxo unit test (#1606)

* add a unit test for attacBlocks of utxoview

* modify  unit test for attacBlocks of utxoview

* recovery test file

* delete code

* Add attach block list

* add init transaction and block

* modify code format

* add error deal

5 years agoMempool: add no btm input tx filter (#1605)
yahtoo [Fri, 1 Mar 2019 14:35:50 +0000 (22:35 +0800)]
Mempool: add no btm input tx filter (#1605)

* Mempool: add no btm input tx filter

* Fix review error

* Fix review error

* Fix review error

* Fix review error

* Fix review error

* Add test case

5 years agoedit log (#1609)
Paladz [Fri, 1 Mar 2019 12:39:27 +0000 (20:39 +0800)]
edit log (#1609)

5 years agocompletion block test (#1603)
muscle_boy [Fri, 1 Mar 2019 08:05:10 +0000 (16:05 +0800)]
completion block test (#1603)

* completion block test

* attach tapd id for unit test

* attach sequence num for unit test

* fix checkblocktime test

5 years agoMerge pull request #1608 from Bytom/tx_unit_test
Paladz [Fri, 1 Mar 2019 07:50:24 +0000 (15:50 +0800)]
Merge pull request #1608 from Bytom/tx_unit_test

add tx unit test

5 years agoadd tx unit test
shenao78 [Fri, 1 Mar 2019 07:26:14 +0000 (15:26 +0800)]
add tx unit test

5 years agoMerge pull request #1602 from Bytom/dashboard
Paladz [Fri, 1 Mar 2019 06:39:42 +0000 (14:39 +0800)]
Merge pull request #1602 from Bytom/dashboard

update dashboard with qr code.

5 years agoupdate the dashboard with signature Qr code.
Zhiting Lin [Fri, 1 Mar 2019 06:36:35 +0000 (14:36 +0800)]
update the dashboard with signature Qr code.

5 years agoupdate dashboard with qr code.
Zhiting Lin [Thu, 28 Feb 2019 06:58:43 +0000 (14:58 +0800)]
update dashboard with qr code.

5 years agomerge with prod (#1598)
Paladz [Thu, 28 Feb 2019 03:36:24 +0000 (11:36 +0800)]
merge with prod (#1598)

5 years agoFix conflict (#1597)
yahtoo [Thu, 28 Feb 2019 03:24:26 +0000 (11:24 +0800)]
Fix conflict (#1597)

* p2p/discv5: fix idx can be negative after uint convert to int(can cause crash) (#1307)

* fix bug for concurrent map access

* get raw block return the tx status (#1546)

* edit config (#1591)

5 years agoFix conflict (#1595)
yahtoo [Thu, 28 Feb 2019 02:40:21 +0000 (10:40 +0800)]
Fix conflict (#1595)

* p2p/discv5: fix idx can be negative after uint convert to int(can cause crash) (#1307)

* fix bug for concurrent map access

* get raw block return the tx status (#1546)

* edit config (#1591)

5 years agoOptimize log time accuracy (#1593)
yahtoo [Thu, 28 Feb 2019 02:12:48 +0000 (10:12 +0800)]
Optimize log time accuracy (#1593)

5 years agoFix new mined orphan block broadcast bug (#1592)
yahtoo [Wed, 27 Feb 2019 09:34:25 +0000 (17:34 +0800)]
Fix new mined orphan block broadcast bug (#1592)

* Fix new mined orphan block broadcast bug

* fix review bug

5 years agoOptimize log printing (#1590)
yahtoo [Wed, 27 Feb 2019 03:09:59 +0000 (11:09 +0800)]
Optimize log printing (#1590)

5 years agoedit ttl for prevent double spend (#1589)
Paladz [Wed, 27 Feb 2019 02:10:02 +0000 (10:10 +0800)]
edit ttl for prevent double spend (#1589)

5 years agoadd check point (#1588)
Paladz [Mon, 25 Feb 2019 14:53:33 +0000 (22:53 +0800)]
add check point (#1588)

5 years agoValidate tx unit test (#1587)
muscle_boy [Mon, 25 Feb 2019 08:11:33 +0000 (16:11 +0800)]
Validate tx unit test (#1587)

* add setGasValid unit test

* add setGasValid unit test

* add validate tx unit test

* add mismatch reference unit test

* add validate tx testcase

* add same utxo testcase

* add two unit-test for validateTx

* remove useless code

5 years agoedit the rule for support 1.1.0's soft fork which will enable more VM… (#1585)
Paladz [Mon, 25 Feb 2019 03:28:19 +0000 (11:28 +0800)]
edit the rule for support 1.1.0's soft fork which will enable more VM… (#1585)

* edit the rule for support 1.1.0's soft fork which will enable more VM futures

* golint the unit test

* clean the old test case

5 years agoFix exit exception (#1586)
yahtoo [Mon, 25 Feb 2019 02:53:58 +0000 (10:53 +0800)]
Fix exit exception (#1586)

5 years agoRevert "Recommit (#1547)" (#1583)
Paladz [Mon, 25 Feb 2019 01:44:09 +0000 (09:44 +0800)]
Revert "Recommit (#1547)" (#1583)

This reverts commit f9e8455ed02759378767d4dc3222a40e33a024c9.

5 years agoAdd mempool new tx subscription support (#1578)
yahtoo [Fri, 22 Feb 2019 06:05:08 +0000 (14:05 +0800)]
Add mempool new tx subscription support (#1578)

* Add mempool new tx subscription support

* Fix test file error

* Add test file

* Add test file

* Opz code format

* Del invalid test file

5 years agoadd status fail for websocket nofify new transaction (#1582)
muscle_boy [Thu, 21 Feb 2019 09:01:42 +0000 (17:01 +0800)]
add status fail for websocket nofify new transaction (#1582)

5 years agoinit push (#1581)
Paladz [Thu, 21 Feb 2019 08:48:49 +0000 (16:48 +0800)]
init push (#1581)

* init push

* delete unused function

5 years agosmall change (#1580)
Paladz [Thu, 21 Feb 2019 06:20:13 +0000 (14:20 +0800)]
small change (#1580)

5 years agoorphan block num limit (#1579)
muscle_boy [Thu, 21 Feb 2019 02:30:12 +0000 (10:30 +0800)]
orphan block num limit (#1579)

5 years agoP2P: fixed node startup id (#1573)
yahtoo [Wed, 20 Feb 2019 04:06:43 +0000 (12:06 +0800)]
P2P: fixed node startup id (#1573)

* P2P: fixed node startup id

* Add test file

* Fix test error

* Fix review bug

* Fix test error

* Add log info

5 years agoclean code (#1577)
Paladz [Tue, 19 Feb 2019 08:58:34 +0000 (16:58 +0800)]
clean code (#1577)

5 years agovalidate block unit test (#1576)
muscle_boy [Tue, 19 Feb 2019 08:11:20 +0000 (16:11 +0800)]
validate block unit test (#1576)

5 years agoValidate tx unit test (#1575)
muscle_boy [Tue, 19 Feb 2019 06:16:29 +0000 (14:16 +0800)]
Validate tx unit test (#1575)

* add setGasValid unit test

* add setGasValid unit test

* add validate tx unit test

* add mismatch reference unit test

* add validate tx testcase

* add same utxo testcase

5 years agoValidate tx unit test (#1574)
muscle_boy [Tue, 19 Feb 2019 04:57:52 +0000 (12:57 +0800)]
Validate tx unit test (#1574)

* add setGasValid unit test

* add setGasValid unit test

* add validate tx unit test

* add mismatch reference unit test

* add validate tx testcase

5 years agodelete the btcsuite (#1571)
Paladz [Tue, 19 Feb 2019 04:15:17 +0000 (12:15 +0800)]
delete the btcsuite (#1571)

5 years agoClean (#1569)
Paladz [Mon, 18 Feb 2019 11:08:54 +0000 (19:08 +0800)]
Clean (#1569)

* delete unused

* delete unused code

5 years agop2p: refactor switch code and add test (#1538)
yahtoo [Mon, 18 Feb 2019 07:44:03 +0000 (15:44 +0800)]
p2p: refactor switch code and add test (#1538)

* p2p: refactor switch code and add test

* Adjust parameter position

* Resolve merging conflicts

* Fix test fail

* Resolve merging conflicts

* Fix review bugs

* Fix review bugs

* Fix review bug

* Fix review bug

5 years agodelete the code (#1568)
Paladz [Mon, 18 Feb 2019 06:46:50 +0000 (14:46 +0800)]
delete the code (#1568)

* delete the code

* keeping delete the code

* delete from tendermint common

* keep deleteing

* keep deleteing

5 years agodelete the unused code (#1567)
Paladz [Mon, 18 Feb 2019 04:01:18 +0000 (12:01 +0800)]
delete the unused code (#1567)

5 years agodelete unused (#1566)
Paladz [Fri, 15 Feb 2019 10:27:35 +0000 (18:27 +0800)]
delete unused (#1566)

* delete unused

* edit the redirect

5 years agowallet: prevent restore duplicate key (#1561)
yahtoo [Thu, 14 Feb 2019 04:05:12 +0000 (12:05 +0800)]
wallet: prevent restore duplicate key (#1561)

* wallet: prevent restore duplicate key

* Fix review bug

5 years agoAdd seed address format check (#1563)
yahtoo [Thu, 14 Feb 2019 03:34:31 +0000 (11:34 +0800)]
Add seed address format check (#1563)

5 years agop2p: support dns seed (#1554)
yahtoo [Wed, 13 Feb 2019 09:41:01 +0000 (17:41 +0800)]
p2p: support dns seed (#1554)

* p2p: support dns seed

* Del unused code

* Add test file

* Add multiple dns server parallel support

* Fix review bugs

* Fix review bugs

5 years agoRecommit (#1547)
HAOYUatHZ [Mon, 7 Jan 2019 08:48:54 +0000 (16:48 +0800)]
Recommit (#1547)

* Fix nil pointer error

* Init commitMap

* Init blockSnapshot

* Combine recover block & submitWork

* Add commitMap cleaning

* Clean up

* Refine code

* Add recommitTicker

* Add comments

* Clean

* Add config

* Save recommitInterval as uint64 in miningpool

* Fix typo

* Refine code

* Remake a block freshly

* Refine code

* Refine code

* Clean up

* Fix deleteMap logic

* Refine code

* Update Readme

* Fix test

5 years agoadd checkpoint (#1550)
Chengcheng Zhang [Mon, 7 Jan 2019 08:22:05 +0000 (16:22 +0800)]
add checkpoint (#1550)

5 years agodiscover: fix TestNodeDBSeedQuery err (#1549)
yahtoo [Mon, 7 Jan 2019 08:07:27 +0000 (16:07 +0800)]
discover: fix TestNodeDBSeedQuery err (#1549)

5 years agonetsync: Fix crash when unsubscribe event on exit (#1543)
yahtoo [Fri, 4 Jan 2019 02:06:46 +0000 (10:06 +0800)]
netsync: Fix crash when unsubscribe event on exit (#1543)

* netsync: Fix crash when unsubscribe event on exit

* Revert "Fix crash when unsubscribe event on exit"

This reverts commit 7533c2f010081d3ffd90b91887d04c52f8429ea7.

* Fix review bug

* Fix review bug

* Fix review bug

5 years agoEdit api (#1544)
Paladz [Thu, 3 Jan 2019 09:19:17 +0000 (17:19 +0800)]
Edit api (#1544)

* p2p/discv5: fix idx can be negative after uint convert to int(can cause crash) (#1307)

* fix bug for concurrent map access

* get raw block return the tx status

5 years agoDiscover: add node persistent storage (#1539)
yahtoo [Wed, 2 Jan 2019 07:33:49 +0000 (15:33 +0800)]
Discover: add node persistent storage (#1539)

add database test file

5 years agoAdd event resource release when node stop (#1540)
yahtoo [Thu, 27 Dec 2018 08:46:32 +0000 (16:46 +0800)]
Add event resource release when node stop (#1540)

5 years agoevent: add new mined block subscribe func (#1537)
yahtoo [Thu, 27 Dec 2018 08:24:41 +0000 (16:24 +0800)]
event: add new mined block subscribe func (#1537)

* Add new mined block subscribe func

* Fix review bug

* Rename typeMux to dispatcher

* Fix test file error

* Fix review bug

* Fix review bug

* Fix review error

* Fix review error

* Fix review bug

5 years agofix issue (#1517)
Paladz [Tue, 11 Dec 2018 05:27:46 +0000 (13:27 +0800)]
fix issue (#1517)

* fix issue

* add unit test

* fix a coinbase issue

5 years agofix input display issue (#1514)
Paladz [Mon, 10 Dec 2018 11:27:45 +0000 (19:27 +0800)]
fix input display issue (#1514)

* fix input issue

* add unit test

5 years agofix bug for websocket (#1508)
wz [Thu, 6 Dec 2018 08:42:12 +0000 (16:42 +0800)]
fix bug for websocket (#1508)

5 years agoupdate equity front end. (#1505)
Zhiting Lin [Wed, 5 Dec 2018 11:00:35 +0000 (19:00 +0800)]
update equity front end. (#1505)

5 years agoupdate testnet checkpoint (#1501)
Chengcheng Zhang [Thu, 29 Nov 2018 16:11:51 +0000 (00:11 +0800)]
update testnet checkpoint (#1501)

5 years agoMerge pull request #1500 from Bytom/dev-message
Paladz [Thu, 29 Nov 2018 08:11:45 +0000 (16:11 +0800)]
Merge pull request #1500 from Bytom/dev-message

modify string into []byte for message

5 years agomodify string into []byte for message
oysheng [Tue, 27 Nov 2018 06:03:39 +0000 (14:03 +0800)]
modify string into []byte for message

5 years agoRemove vendor (#1496)
Paladz [Mon, 26 Nov 2018 15:51:56 +0000 (23:51 +0800)]
Remove vendor (#1496)

* remove golang.org/x/time

* remove github.com/go-logfmt

* delete btcsuite

* delete unused vendor

5 years agodelete the vendor (#1495)
Paladz [Mon, 26 Nov 2018 10:21:36 +0000 (18:21 +0800)]
delete the vendor (#1495)

5 years agoDelete vendor (#1494)
Paladz [Mon, 26 Nov 2018 10:01:47 +0000 (18:01 +0800)]
Delete vendor (#1494)

* remove the unused vendor

* remove vendor/github.com/tendermint/abci

5 years agoMerge pull request #1491 from Bytom/wallet-recovery
Paladz [Fri, 23 Nov 2018 02:54:34 +0000 (10:54 +0800)]
Merge pull request #1491 from Bytom/wallet-recovery

Add test case

5 years agoAdd test case
Yahtoo Ma [Fri, 16 Nov 2018 01:46:17 +0000 (09:46 +0800)]
Add test case

TestReportFound

5 years agoMerge pull request #1487 from Bytom/edit-utxo-number
Paladz [Mon, 19 Nov 2018 06:54:32 +0000 (14:54 +0800)]
Merge pull request #1487 from Bytom/edit-utxo-number

edit the chain utxo number config

5 years agoedit the chain utxo number config
paladz [Mon, 19 Nov 2018 06:49:37 +0000 (14:49 +0800)]
edit the chain utxo number config

5 years agoMerge pull request #1483 from Bytom/dev-fix
Paladz [Mon, 19 Nov 2018 06:27:16 +0000 (14:27 +0800)]
Merge pull request #1483 from Bytom/dev-fix

fix makefile

5 years agofix makefile
Chengcheng Zhang [Mon, 19 Nov 2018 06:25:47 +0000 (14:25 +0800)]
fix makefile

5 years agoadd release note, checkpoint and version (#1479)
Paladz [Mon, 19 Nov 2018 05:35:19 +0000 (13:35 +0800)]
add release note, checkpoint and version (#1479)

* add release note, checkpoint and version

* fix typo

* try to fix eletron issue

* Revert "try to fix eletron issue"

This reverts commit 654ed6f38df1f8be7058b4be7fdd55dec2abde03.

* try to fix eletron issue

* Revert "try to fix eletron issue"

This reverts commit e682229546cb431808862de1bdfebebd858a8c7f.

5 years agoMerge pull request #1478 from Bytom/dashboard
Paladz [Fri, 16 Nov 2018 16:51:21 +0000 (00:51 +0800)]
Merge pull request #1478 from Bytom/dashboard

fixed the wallet bug in dashboard.

5 years agofixed the wallet bug in dashboard.
Zhiting Lin [Fri, 16 Nov 2018 16:48:27 +0000 (00:48 +0800)]
fixed the wallet bug in dashboard.

5 years agoMerge pull request #1476 from Bytom/dashboard
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.

5 years agoupdate 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.

5 years agoMerge pull request #1474 from Bytom/wallet-bip44
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

5 years agoUnified 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

5 years agoMerge pull request #1472 from Bytom/mnemonic
Paladz [Fri, 16 Nov 2018 02:56:10 +0000 (10:56 +0800)]
Merge pull request #1472 from Bytom/mnemonic

Change mnemonic length to 12

5 years agoChange mnemonic length to 12
Yahtoo Ma [Fri, 16 Nov 2018 02:24:07 +0000 (10:24 +0800)]
Change mnemonic length to 12

5 years agoMerge pull request #1473 from Bytom/dev-readme
Paladz [Fri, 16 Nov 2018 02:46:07 +0000 (10:46 +0800)]
Merge pull request #1473 from Bytom/dev-readme

update readme

5 years agoupdate readme
Chengcheng Zhang [Fri, 16 Nov 2018 02:43:53 +0000 (10:43 +0800)]
update readme