Add 'confirmed' parameter (#743)
* Add 'confirmed' parameter to Solana blocksSubscribe method * Add 'confirmed' parameter to Solana getBlocks method
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,6 +3,7 @@ build/
|
|||||||
out/
|
out/
|
||||||
./dshackle.yaml
|
./dshackle.yaml
|
||||||
dshackle.yaml
|
dshackle.yaml
|
||||||
|
dhackle_key
|
||||||
./upstream.yaml
|
./upstream.yaml
|
||||||
testsetup/
|
testsetup/
|
||||||
.idea/
|
.idea/
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ object SolanaChainSpecific : AbstractChainSpecific() {
|
|||||||
ListParams(
|
ListParams(
|
||||||
response.max(),
|
response.max(),
|
||||||
mapOf(
|
mapOf(
|
||||||
|
"commitment" to "confirmed",
|
||||||
"showRewards" to false,
|
"showRewards" to false,
|
||||||
"transactionDetails" to "none",
|
"transactionDetails" to "none",
|
||||||
"maxSupportedTransactionVersion" to 0,
|
"maxSupportedTransactionVersion" to 0,
|
||||||
@@ -104,6 +105,7 @@ object SolanaChainSpecific : AbstractChainSpecific() {
|
|||||||
ListParams(
|
ListParams(
|
||||||
"all",
|
"all",
|
||||||
mapOf(
|
mapOf(
|
||||||
|
"commitment" to "confirmed",
|
||||||
"showRewards" to false,
|
"showRewards" to false,
|
||||||
"transactionDetails" to "none",
|
"transactionDetails" to "none",
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user