OSDN Git Service
Zhiting Lin [Fri, 19 Apr 2019 06:54:56 +0000 (14:54 +0800)]
update with pdf
Paladz [Fri, 19 Apr 2019 05:18:47 +0000 (13:18 +0800)]
Merge pull request #1719 from Bytom/politic-dashboard
add the pdf download function
Zhiting Lin [Fri, 19 Apr 2019 05:12:28 +0000 (13:12 +0800)]
add the pdf download function
Paladz [Fri, 19 Apr 2019 03:26:13 +0000 (11:26 +0800)]
Merge pull request #1718 from Bytom/politic-dashboard
update dashboard.
Zhiting Lin [Fri, 19 Apr 2019 03:23:35 +0000 (11:23 +0800)]
update dashboard.
Paladz [Fri, 19 Apr 2019 02:06:09 +0000 (10:06 +0800)]
add the index (#1716)
* add the index
* delete test data
* return the data
Zhiting Lin [Thu, 18 Apr 2019 14:02:07 +0000 (22:02 +0800)]
update dashboard:politic (#1715)
Zhiting Lin [Thu, 18 Apr 2019 09:32:46 +0000 (17:32 +0800)]
Politic dashboard (#1714)
* update dashboard rm word transactions
* update dashboard : politic
Zhiting Lin [Thu, 18 Apr 2019 09:05:44 +0000 (17:05 +0800)]
Politic dashboard (#1713)
* update dashboard rm word transactions
* dashboard:rm summary
* update dashboard politic
* update dashboard-politic
Zhiting Lin [Thu, 18 Apr 2019 07:54:38 +0000 (15:54 +0800)]
Politic dashboard (#1711)
* update dashboard rm word transactions
* dashboard:rm summary
* update dashboard politic
Paladz [Thu, 18 Apr 2019 07:37:02 +0000 (15:37 +0800)]
show all the tx in wallet (#1710)
Zhiting Lin [Thu, 18 Apr 2019 07:12:27 +0000 (15:12 +0800)]
update dashboard rm word transactions (#1709)
Paladz [Thu, 18 Apr 2019 02:11:08 +0000 (10:11 +0800)]
Edit (#1707)
* edit the init time stamp
* edit yaml
muscle_boy [Thu, 18 Apr 2019 01:32:52 +0000 (09:32 +0800)]
Politic dev (#1706)
* politic
* refactor
* update travis
* fix ci
* fix ci
* update dockerfile
* add wallet index
muscle_boy [Wed, 17 Apr 2019 14:50:39 +0000 (22:50 +0800)]
politic (#1702)
* politic
* refactor
* update travis
* fix ci
* fix ci
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
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
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
Paladz [Fri, 1 Mar 2019 12:39:27 +0000 (20:39 +0800)]
edit log (#1609)
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
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
shenao78 [Fri, 1 Mar 2019 07:26:14 +0000 (15:26 +0800)]
add tx unit test
Paladz [Fri, 1 Mar 2019 06:39:42 +0000 (14:39 +0800)]
Merge pull request #1602 from Bytom/dashboard
update dashboard with qr code.
Zhiting Lin [Fri, 1 Mar 2019 06:36:35 +0000 (14:36 +0800)]
update the dashboard with signature Qr code.
Zhiting Lin [Thu, 28 Feb 2019 06:58:43 +0000 (14:58 +0800)]
update dashboard with qr code.
Paladz [Thu, 28 Feb 2019 03:36:24 +0000 (11:36 +0800)]
merge with prod (#1598)
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)
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)
yahtoo [Thu, 28 Feb 2019 02:12:48 +0000 (10:12 +0800)]
Optimize log time accuracy (#1593)
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
yahtoo [Wed, 27 Feb 2019 03:09:59 +0000 (11:09 +0800)]
Optimize log printing (#1590)
Paladz [Wed, 27 Feb 2019 02:10:02 +0000 (10:10 +0800)]
edit ttl for prevent double spend (#1589)
Paladz [Mon, 25 Feb 2019 14:53:33 +0000 (22:53 +0800)]
add check point (#1588)
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
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
yahtoo [Mon, 25 Feb 2019 02:53:58 +0000 (10:53 +0800)]
Fix exit exception (#1586)
Paladz [Mon, 25 Feb 2019 01:44:09 +0000 (09:44 +0800)]
Revert "Recommit (#1547)" (#1583)
This reverts commit
f9e8455ed02759378767d4dc3222a40e33a024c9.
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
muscle_boy [Thu, 21 Feb 2019 09:01:42 +0000 (17:01 +0800)]
add status fail for websocket nofify new transaction (#1582)
Paladz [Thu, 21 Feb 2019 08:48:49 +0000 (16:48 +0800)]
init push (#1581)
* init push
* delete unused function
Paladz [Thu, 21 Feb 2019 06:20:13 +0000 (14:20 +0800)]
small change (#1580)
muscle_boy [Thu, 21 Feb 2019 02:30:12 +0000 (10:30 +0800)]
orphan block num limit (#1579)
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
Paladz [Tue, 19 Feb 2019 08:58:34 +0000 (16:58 +0800)]
clean code (#1577)
muscle_boy [Tue, 19 Feb 2019 08:11:20 +0000 (16:11 +0800)]
validate block unit test (#1576)
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
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
Paladz [Tue, 19 Feb 2019 04:15:17 +0000 (12:15 +0800)]
delete the btcsuite (#1571)
Paladz [Mon, 18 Feb 2019 11:08:54 +0000 (19:08 +0800)]
Clean (#1569)
* delete unused
* delete unused code