mirror of
https://github.com/trezor/blockbook.git
synced 2026-03-24 16:37:19 +01:00
Removed TestSendRawTransaction because of instability
This commit is contained in:
@@ -76,10 +76,6 @@ func TestBCashRPC_GetMempoolEntry(t *testing.T) {
|
||||
tests.mainnet.TestGetMempoolEntry(t)
|
||||
}
|
||||
|
||||
func TestBCashRPC_SendRawTransaction(t *testing.T) {
|
||||
tests.mainnet.TestSendRawTransaction(t)
|
||||
}
|
||||
|
||||
func TestBCashRPC_EstimateSmartFee(t *testing.T) {
|
||||
tests.mainnet.TestEstimateSmartFee(t)
|
||||
}
|
||||
@@ -124,10 +120,6 @@ func TestBCashTestnetRPC_GetMempoolEntry(t *testing.T) {
|
||||
tests.testnet.TestGetMempoolEntry(t)
|
||||
}
|
||||
|
||||
func TestBCashTestnetRPC_SendRawTransaction(t *testing.T) {
|
||||
tests.testnet.TestSendRawTransaction(t)
|
||||
}
|
||||
|
||||
func TestBCashTestnetRPC_EstimateSmartFee(t *testing.T) {
|
||||
tests.testnet.TestEstimateSmartFee(t)
|
||||
}
|
||||
|
||||
@@ -77,10 +77,6 @@ func TestBitcoinRPC_GetMempoolEntry(t *testing.T) {
|
||||
tests.mainnet.TestGetMempoolEntry(t)
|
||||
}
|
||||
|
||||
func TestBitcoinRPC_SendRawTransaction(t *testing.T) {
|
||||
tests.mainnet.TestSendRawTransaction(t)
|
||||
}
|
||||
|
||||
func TestBitcoinRPC_EstimateSmartFee(t *testing.T) {
|
||||
tests.mainnet.TestEstimateSmartFee(t)
|
||||
}
|
||||
@@ -125,10 +121,6 @@ func TestBitcoinTestnetRPC_GetMempoolEntry(t *testing.T) {
|
||||
tests.testnet.TestGetMempoolEntry(t)
|
||||
}
|
||||
|
||||
func TestBitcoinTestnetRPC_SendRawTransaction(t *testing.T) {
|
||||
tests.testnet.TestSendRawTransaction(t)
|
||||
}
|
||||
|
||||
func TestBitcoinTestnetRPC_EstimateSmartFee(t *testing.T) {
|
||||
tests.testnet.TestEstimateSmartFee(t)
|
||||
}
|
||||
|
||||
@@ -68,10 +68,6 @@ func TestDashRPC_MempoolSync(t *testing.T) {
|
||||
tests.mainnet.TestMempoolSync(t)
|
||||
}
|
||||
|
||||
func TestDashRPC_SendRawTransaction(t *testing.T) {
|
||||
tests.mainnet.TestSendRawTransaction(t)
|
||||
}
|
||||
|
||||
func TestDashRPC_EstimateSmartFee(t *testing.T) {
|
||||
tests.mainnet.TestEstimateSmartFee(t)
|
||||
}
|
||||
@@ -112,10 +108,6 @@ func TestDashTestnetRPC_MempoolSync(t *testing.T) {
|
||||
tests.testnet.TestMempoolSync(t)
|
||||
}
|
||||
|
||||
func TestDashTestnetRPC_SendRawTransaction(t *testing.T) {
|
||||
tests.testnet.TestSendRawTransaction(t)
|
||||
}
|
||||
|
||||
func TestDashTestnetRPC_EstimateSmartFee(t *testing.T) {
|
||||
tests.testnet.TestEstimateSmartFee(t)
|
||||
}
|
||||
|
||||
@@ -65,10 +65,6 @@ func TestNamecoinRPC_GetMempoolEntry(t *testing.T) {
|
||||
rpcTest.TestGetMempoolEntry(t)
|
||||
}
|
||||
|
||||
func TestNamecoinRPC_SendRawTransaction(t *testing.T) {
|
||||
rpcTest.TestSendRawTransaction(t)
|
||||
}
|
||||
|
||||
func TestNamecoinRPC_EstimateSmartFee(t *testing.T) {
|
||||
rpcTest.TestEstimateSmartFee(t)
|
||||
}
|
||||
|
||||
@@ -63,10 +63,6 @@ func TestVertcoinRPC_GetMempoolEntry(t *testing.T) {
|
||||
rpcTest.TestGetMempoolEntry(t)
|
||||
}
|
||||
|
||||
func TestVertcoinRPC_SendRawTransaction(t *testing.T) {
|
||||
rpcTest.TestSendRawTransaction(t)
|
||||
}
|
||||
|
||||
func TestVertcoinRPC_EstimateSmartFee(t *testing.T) {
|
||||
rpcTest.TestEstimateSmartFee(t)
|
||||
}
|
||||
|
||||
@@ -67,10 +67,6 @@ func TestZCashRPC_MempoolSync(t *testing.T) {
|
||||
tests.mainnet.TestMempoolSync(t)
|
||||
}
|
||||
|
||||
func TestZCashRPC_SendRawTransaction(t *testing.T) {
|
||||
tests.mainnet.TestSendRawTransaction(t)
|
||||
}
|
||||
|
||||
func TestZCashRPC_EstimateSmartFee(t *testing.T) {
|
||||
tests.mainnet.TestEstimateSmartFee(t)
|
||||
}
|
||||
@@ -111,10 +107,6 @@ func TestZCashTestnetRPC_MempoolSync(t *testing.T) {
|
||||
tests.testnet.TestMempoolSync(t)
|
||||
}
|
||||
|
||||
func TestZCashTestnetRPC_SendRawTransaction(t *testing.T) {
|
||||
tests.testnet.TestSendRawTransaction(t)
|
||||
}
|
||||
|
||||
func TestZCashTestnetRPC_EstimateSmartFee(t *testing.T) {
|
||||
tests.testnet.TestEstimateSmartFee(t)
|
||||
}
|
||||
|
||||
@@ -339,20 +339,6 @@ func (rt *Test) TestGetMempoolEntry(t *testing.T) {
|
||||
t.Skip("Skipping test, all attempts to get mempool entry failed due to network state changes")
|
||||
}
|
||||
|
||||
func (rt *Test) TestSendRawTransaction(t *testing.T) {
|
||||
rt.skipUnconnected(t)
|
||||
|
||||
for txid, tx := range rt.TestData.TxDetails {
|
||||
_, err := rt.Client.SendRawTransaction(tx.Hex)
|
||||
if err != nil {
|
||||
if err, ok := err.(*bchain.RPCError); ok && err.Code == -27 {
|
||||
continue
|
||||
}
|
||||
}
|
||||
t.Errorf("SendRawTransaction() for %s returned unexpected error: %#v", txid, err)
|
||||
}
|
||||
}
|
||||
|
||||
func (rt *Test) TestEstimateSmartFee(t *testing.T) {
|
||||
rt.skipUnconnected(t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user