OSDN Git Service
Paladz [Wed, 18 Sep 2019 08:56:02 +0000 (16:56 +0800)]
Merge pull request #1787 from Bytom/checkpoint
update checkpoint
Chengcheng Zhang [Wed, 18 Sep 2019 08:37:04 +0000 (16:37 +0800)]
update checkpoint
Chengcheng Zhang [Wed, 11 Sep 2019 07:49:18 +0000 (15:49 +0800)]
add new checkpoint (#1785)
* add new checkpoint
* update
Paladz [Wed, 4 Sep 2019 08:17:08 +0000 (16:17 +0800)]
Merge pull request #1784 from Bytom/add-sign-data
add sign data
Chengcheng Zhang [Wed, 4 Sep 2019 07:57:41 +0000 (15:57 +0800)]
Merge branch 'dev' into add-sign-data
Chengcheng Zhang [Wed, 4 Sep 2019 07:51:13 +0000 (15:51 +0800)]
update
Chengcheng Zhang [Wed, 4 Sep 2019 07:47:32 +0000 (15:47 +0800)]
add sign data
Paladz [Wed, 4 Sep 2019 07:24:08 +0000 (15:24 +0800)]
Merge pull request #1783 from Bytom/update-testnet-checkpoint
update checkpoint and readme
Chengcheng Zhang [Wed, 4 Sep 2019 07:13:03 +0000 (15:13 +0800)]
update checkpoint and readme
Paladz [Fri, 16 Aug 2019 07:01:21 +0000 (15:01 +0800)]
Merge pull request #1780 from Bytom/ban_peer
fix ban node failed
Yahtoo Ma [Fri, 16 Aug 2019 04:35:18 +0000 (12:35 +0800)]
fix ban node failed
Paladz [Thu, 15 Aug 2019 04:13:24 +0000 (12:13 +0800)]
Merge pull request #1779 from Bytom/dev-log
log writer close
wyjDoraemon [Thu, 15 Aug 2019 04:10:06 +0000 (12:10 +0800)]
log writer close
Paladz [Wed, 14 Aug 2019 08:55:35 +0000 (16:55 +0800)]
Merge pull request #1777 from Bytom/txpool
restore Tx back to Tx pool when chain is reorganized
Paladz [Wed, 14 Aug 2019 08:47:59 +0000 (16:47 +0800)]
Merge pull request #1774 from Bytom/orphan
fix the orphan issue
Yahtoo Ma [Tue, 13 Aug 2019 07:07:03 +0000 (15:07 +0800)]
restore Tx back to Tx pool when chain is reorganized
Yahtoo Ma [Tue, 13 Aug 2019 03:40:39 +0000 (11:40 +0800)]
fix the orphan issue
Paladz [Mon, 12 Aug 2019 07:52:52 +0000 (15:52 +0800)]
Merge pull request #1759 from Bytom/security
Abstract p2p security module
Yahtoo Ma [Mon, 5 Aug 2019 02:10:24 +0000 (10:10 +0800)]
Del expired banned peers when add peer
Yahtoo Ma [Fri, 2 Aug 2019 06:13:34 +0000 (14:13 +0800)]
Del ErrorHandler function
Paladz [Wed, 31 Jul 2019 11:38:49 +0000 (19:38 +0800)]
Merge pull request #1769 from wyjDoraemon/dev
add bytom logs into files
wyjDoraemon [Wed, 31 Jul 2019 11:24:56 +0000 (19:24 +0800)]
add bytom logs into files
Paladz [Wed, 31 Jul 2019 06:57:05 +0000 (14:57 +0800)]
Merge pull request #1766 from Bytom/newfix
fix desc
iczc [Wed, 31 Jul 2019 06:54:23 +0000 (14:54 +0800)]
fix desc
Yahtoo Ma [Sat, 22 Jun 2019 09:36:13 +0000 (17:36 +0800)]
Abstract p2p security module
Paladz [Wed, 29 May 2019 10:14:58 +0000 (18:14 +0800)]
Merge pull request #1751 from Bytom/blockfetcher
Fix block fetcher block insert bug
Yahtoo Ma [Wed, 29 May 2019 09:56:21 +0000 (17:56 +0800)]
Fix block fetcher block insert bug
muscle_boy [Thu, 2 May 2019 14:44:56 +0000 (22:44 +0800)]
add block integration test (#1745)
* add block integration test
* format code
* remove unuse code
* fix tx testcase
* remove debug code
Paladz [Fri, 26 Apr 2019 02:27:19 +0000 (10:27 +0800)]
Merge pull request #1741 from Bytom/fix_empty_pointer
fix the bug
paladz [Fri, 26 Apr 2019 02:05:05 +0000 (10:05 +0800)]
fix the bug
muscle_boy [Thu, 25 Apr 2019 11:17:21 +0000 (19:17 +0800)]
Process block integra test (#1740)
* block integration test
* fix case
* format code
* change func name
* change func name
Paladz [Wed, 24 Apr 2019 02:26:08 +0000 (10:26 +0800)]
Merge pull request #1737 from Bytom/fix_amount_zero
fix bug
paladz [Wed, 24 Apr 2019 01:52:47 +0000 (09:52 +0800)]
fix bug
Paladz [Mon, 22 Apr 2019 07:01:12 +0000 (15:01 +0800)]
Merge pull request #1733 from Bytom/conflict
Wallet: fix restore deleted account bug (#1559)
yahtoo [Tue, 29 Jan 2019 15:29:30 +0000 (23:29 +0800)]
Wallet: fix restore deleted account bug (#1559)
Paladz [Mon, 22 Apr 2019 06:17:43 +0000 (14:17 +0800)]
Merge pull request #1731 from Bytom/edit_version
Edit version
paladz [Mon, 22 Apr 2019 06:15:55 +0000 (14:15 +0800)]
change the version
Paladz [Mon, 22 Apr 2019 05:27:18 +0000 (13:27 +0800)]
add relese note and check point for v1.0.9 (#1728)
yahtoo [Mon, 22 Apr 2019 04:57:42 +0000 (12:57 +0800)]
Fix mined block broadcast err (#1726)
Zhiting Lin [Mon, 22 Apr 2019 04:55:36 +0000 (12:55 +0800)]
update dashbaord (#1727)
yahtoo [Fri, 19 Apr 2019 10:27:23 +0000 (18:27 +0800)]
Fix banscore string deadlock bug (#1724)
HAOYUatHZ [Fri, 19 Apr 2019 09:34:43 +0000 (17:34 +0800)]
test: add test for PR#1708 https://github.com/Bytom/bytom/pull/1708 (#1723)
yahtoo [Thu, 18 Apr 2019 09:33:30 +0000 (17:33 +0800)]
Add LAN discover cli config option (#1712)
* Add LAN discover cli config option
* Fix test file error
* Fix review bug
Paladz [Thu, 18 Apr 2019 05:22:53 +0000 (13:22 +0800)]
fix the rescan bug (#1708)
yahtoo [Wed, 17 Apr 2019 14:49:53 +0000 (22:49 +0800)]
Fix list-assets vm_version field lost (#1705)
* Fix list-assets vm_version field lost
* Add err check
* Opz code
oysheng [Wed, 17 Apr 2019 08:31:07 +0000 (16:31 +0800)]
delete duplicate seed (#1704)
oysheng [Wed, 17 Apr 2019 08:30:22 +0000 (16:30 +0800)]
fix query transactions error (#1703)
* fix query transactions error
* optimise
Zhiting Lin [Wed, 17 Apr 2019 03:12:21 +0000 (11:12 +0800)]
add the comma display in number. (#1701)
Zhiting Lin [Tue, 16 Apr 2019 11:12:27 +0000 (19:12 +0800)]
update dashboard bimp002 (#1700)
HAOYUatHZ [Tue, 16 Apr 2019 08:52:38 +0000 (16:52 +0800)]
feat: support global tx in api.listTransactions and api.getTransaction (#1694)
* feat: add wallet.SaveGlobalTxIdxFlag
* feat: add blockHash, position, err := parseGlobalTxIdx(string(globalTxIdx))
* feat: implement parseGlobalTxIdx
* wip
* fix: fix calcGlobalTxIndex()
* feat: support getGlobalTxByTxID() in GetTransactionByTxID()
* refactor: rename save_global_tx_index
* refactor: use encoding/binary for position in txIndex
* feat: use wallet.TxIndexFlag to control GetTransactionByTxID flow
* refactor: wrap txIndexFlag inside NewWallet()
* fix: fix wallet_test_util
* refactor: reduce globalTxIdx space by using bytes directly
yahtoo [Tue, 16 Apr 2019 08:31:15 +0000 (16:31 +0800)]
Add timestamp as random number generator seed (#1698)
oysheng [Tue, 16 Apr 2019 07:43:11 +0000 (15:43 +0800)]
adjust to the position of estimate transaction gas file and add illustration for vm gas (#1697)
* adjust to file position
* add document
oysheng [Tue, 16 Apr 2019 06:25:18 +0000 (14:25 +0800)]
modify estimate gas for issue input (#1696)
* estimate gas add issue input
* optimise storage size
* unit test
yahtoo [Tue, 16 Apr 2019 06:19:04 +0000 (14:19 +0800)]
Upnp add error handlers (#1695)
Dimitris Sfounis [Tue, 16 Apr 2019 05:51:51 +0000 (08:51 +0300)]
Small translation improvements during BM error reporting (#1693)
* Small translation improvement in error-reporting
* Small translation improvement in error-reporting, part two
muscle_boy [Mon, 15 Apr 2019 10:16:22 +0000 (18:16 +0800)]
ugly transaction test (#1692)
* ugly transaction test
* fix bug
* fix bug
yahtoo [Mon, 15 Apr 2019 08:57:09 +0000 (16:57 +0800)]
Support mDNS LAN peer discover (#1687)
* mv kad discover module to dht
* Add mdns function
* Add lan peer discover func
* Del unused files
* Add lib
* add test info
* Add debug info
* opz code format
* Add LAN peer field
* Del unused files
* Fix lib dependency error
* Change bestPeer logic preferred LAN peer
* Fix test file error
* Del unused file
* Del unused files
* del debug print
* Fix review bug
* change zeroconf lib directory
github.com/zeroconf->github.com/grandcat/zeroconf
* Fix review bugs
* Fix review bugs
* Fix review bugs
oysheng [Mon, 15 Apr 2019 08:54:42 +0000 (16:54 +0800)]
precisely estimate gas for standard transaction (#1688)
* opitmise estimate tranasction gas
* modify arguments
* delete rounding calculation
* adjust to the flexible gas
* add unit test
* optimise
* optimise code
* precise calculate tx size
* modify code style
* swap
* swap optimise
oysheng [Wed, 10 Apr 2019 09:00:23 +0000 (17:00 +0800)]
modify annotated asset signer (#1686)
* modify annotated asset signer
* optimise
Paladz [Wed, 10 Apr 2019 03:25:04 +0000 (11:25 +0800)]
fix the issue 1584 (#1685)
oysheng [Wed, 10 Apr 2019 01:35:18 +0000 (09:35 +0800)]
add unit test (#1683)
oysheng [Tue, 9 Apr 2019 11:13:07 +0000 (19:13 +0800)]
list assets response with annotated asset (#1682)
* list assets response with annotated asset
* optimise
* optimise
oysheng [Tue, 9 Apr 2019 06:23:46 +0000 (14:23 +0800)]
add limit block height for create asset (#1680)
* add limit block height for create asset
* add unit test
yahtoo [Mon, 8 Apr 2019 07:35:11 +0000 (15:35 +0800)]
Support custom node alias (#1677)
* Support custom node alias
* fix review bug
HAOYUatHZ [Mon, 8 Apr 2019 01:37:57 +0000 (09:37 +0800)]
fix: fix typo (#1674)
yahtoo [Thu, 4 Apr 2019 08:17:55 +0000 (16:17 +0800)]
Fix p2p module test file error (#1670)
muscle_boy [Fri, 29 Mar 2019 09:01:29 +0000 (17:01 +0800)]
replace goleveldb with tendermint db (#1660)
* replace goleveldb with tendermint db
* format code
* remove goleveldb
* recover goleveldb
* move db package
* fix ci
* recover .db
* bug fix
* bug fix
Chengcheng Zhang [Fri, 29 Mar 2019 08:51:28 +0000 (16:51 +0800)]
add hash160 test (#1665)
HAOYUatHZ [Fri, 29 Mar 2019 08:40:17 +0000 (16:40 +0800)]
refactor: split ensureOutboundPeers (#1662)
* feat(model): add cmd option for p2p keep_connect & white_list
* feat: init keep_connect & inbound_white_list params for p2p config
* doc: improve cmdline help message
* fix: remove port in whitelist
* feat: allow whitelist inbound connection
* feat: impl try_connect
* fix: fix numToDial check
* refactor: remove white_list
* refactor: rename keep_connect
* refactor: decomposire
* fix: fix potential nil pointer in ensureOutboundPeers()
* doc: change func name to StrsToNodes
* refactor: split ensureOutboundPeers
* refactor: use NewNetAddressStrings()
* refactor: make logic cleaner
* refactor: remove peers stats in ensureKeepConnectPeers()
* fix: fix read cmd args err
* doc: add log for ensureKeepConnectPeers()
* doc: remove hardcoded logmodule
* doc: add logmodule in netutil package
yahtoo [Fri, 29 Mar 2019 04:23:39 +0000 (12:23 +0800)]
Add block index test cases (#1661)
* Add TestSetMainChainExtendCap test case
`
* Add TestNewBlockNode test case
* fix review error
oysheng [Fri, 29 Mar 2019 03:20:45 +0000 (11:20 +0800)]
check the dust transaction with output amount is zero (#1659)
* check the dust transaction with output amount is zero
* optimise
* refactor
HAOYUatHZ [Wed, 27 Mar 2019 07:08:31 +0000 (15:08 +0800)]
add wallet version check & globalTxIdx (#1657)
* feat: add current wallet version check
* feat: save globalTxIdx
* refactor: clean up
* test: add wallet txID check
* test: add genesisTx in wallet test
* refactor: adjust calcGlobalTxIndex format
* refactor: change date type for wallet version
* test: fix attach block in wallet_test
* refactor: fix https://github.com/Bytom/bytom/pull/1657/files#r269394040
* fix: move json.unmarshal form check_walletinfo to load_wallet
* fix: fix wallet version check test
* refactor: clean
* feat: add w.GetGlobalTxIdxes()
* test: add globalTxIdx comparasion
* refactor: clean up
* refactor: clean
* refactor: change bh type to pointer
* refactor: use nil txPool for TestWalletVersion
* refactor: use nil for unnecessary wallet params
yahtoo [Wed, 27 Mar 2019 03:19:36 +0000 (11:19 +0800)]
Change get external ip method (#1649)
* Change get external ip method
* Add test info
* opz code format
* Opz address display
* Fix review bug
* Change cmn.PanicCrisis to log.Panic
oysheng [Tue, 26 Mar 2019 12:50:39 +0000 (20:50 +0800)]
add edge test for CalcReorganizeNodes (#1654)
* add edge test for CalcReorganizeNodes
* optimise
* optimise
yahtoo [Tue, 26 Mar 2019 06:22:33 +0000 (14:22 +0800)]
Fix timer not stoped bug (#1653)
oysheng [Tue, 26 Mar 2019 02:14:05 +0000 (10:14 +0800)]
add Marshal and Unmarshal test for BlockHeader (#1652)
muscle_boy [Mon, 25 Mar 2019 10:00:32 +0000 (18:00 +0800)]
add serialize tx test (#1651)
* add serialize tx test
* format code
yahtoo [Fri, 22 Mar 2019 03:19:20 +0000 (11:19 +0800)]
Add edge test for GasState (#1647)
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
Chengcheng Zhang [Tue, 19 Mar 2019 09:43:34 +0000 (17:43 +0800)]
fix coinbase fee bug (#1642)
* fix coinbase fee bug
* update
* update
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
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
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
muscle_boy [Wed, 13 Mar 2019 12:07:41 +0000 (20:07 +0800)]
add test case (#1636)
muscle_boy [Tue, 12 Mar 2019 08:42:25 +0000 (16:42 +0800)]
add segwit test (#1633)
* add segwit test
* format code
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
Paladz [Fri, 8 Mar 2019 06:36:02 +0000 (14:36 +0800)]
Merge pull request #1629 from Bytom/entry_test
entryID test
shenao78 [Fri, 8 Mar 2019 06:27:48 +0000 (14:27 +0800)]
entryID test
Paladz [Mon, 4 Mar 2019 07:20:35 +0000 (15:20 +0800)]
add 1.0.8 release note (#1623)
Zhiting Lin [Mon, 4 Mar 2019 06:15:01 +0000 (14:15 +0800)]
update QrCode Error correction level. (#1622)
Paladz [Mon, 4 Mar 2019 03:42:42 +0000 (11:42 +0800)]
add check point (#1621)
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
Paladz [Sat, 2 Mar 2019 11:22:39 +0000 (19:22 +0800)]
change the version (#1618)
wz [Sat, 2 Mar 2019 11:12:23 +0000 (19:12 +0800)]
Add case test for the thaintrading (#1617)
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
wz [Sat, 2 Mar 2019 09:52:33 +0000 (17:52 +0800)]
add test case for not btm (#1616)
yahtoo [Sat, 2 Mar 2019 07:42:35 +0000 (15:42 +0800)]
Revert delete node info DefaultServices init (#1614)
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
Paladz [Sat, 2 Mar 2019 06:17:37 +0000 (14:17 +0800)]
Merge pull request #1612 from Bytom/pprof
Revert pprof func
Yahtoo Ma [Sat, 2 Mar 2019 06:10:51 +0000 (14:10 +0800)]
Revert del pprof func