You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Transaction reference block, default is "solid", configure to "head" may accur TaPos error
663
+
# Transaction reference block, default is "solid", configure to "head" may cause TaPos error
599
664
# trx.reference.block = "solid" // head;solid;
600
665
601
666
# This property sets the number of milliseconds after the creation of the transaction that is expired, default value is 60000.
@@ -611,7 +676,8 @@ vm = {
611
676
# Indicates whether the node stores featured internal transactions, such as freeze, vote and so on
612
677
# saveFeaturedInternalTx = false
613
678
614
-
# Indicates whether the node stores the details of the internal transactions generated by the CANCELALLUNFREEZEV2 opcode, such as bandwidth/energy/tronpower cancel amount.
679
+
# Indicates whether the node stores the details of the internal transactions generated by the
680
+
# CANCELALLUNFREEZEV2 opcode, such as bandwidth/energy/tronpower cancel amount.
615
681
# saveCancelAllUnfreezeV2Details = false
616
682
617
683
# In rare cases, transactions that will be within the specified maximum execution time (default 10(ms)) are re-executed and packaged
@@ -635,21 +701,32 @@ event.subscribe = {
635
701
bindport = 5555 // bind port
636
702
sendqueuelength = 1000 //max length of send queue
637
703
}
704
+
version = 0
705
+
# Specify the starting block number to sync historical events. This is only applicable when version = 1.
706
+
# After performing a full event sync, set this value to 0 or a negative number.
707
+
# startSyncBlockNum = 1
638
708
639
709
path = "" // absolute path of plugin
640
710
server = "" // target server address to receive event triggers
641
-
dbconfig = "" // dbname|username|password
642
-
contractParse = true,
711
+
// dbname|username|password, if you want to create indexes for collections when the collections
712
+
// are not exist, you can add version and set it to 2, as dbname|username|password|version
713
+
// if you use version 2 and one collection not exists, it will create index automaticaly;
714
+
// if you use version 2 and one collection exists, it will not create index, you must create index manually;
715
+
dbconfig = ""
716
+
contractParse = true
643
717
topics = [
644
718
{
645
719
triggerName = "block" // block trigger, the value can't be modified
646
720
enable = false
647
721
topic = "block" // plugin topic, the value could be modified
722
+
solidified = false // if set true, just need solidified block, default is false
648
723
},
649
724
{
650
725
triggerName = "transaction"
651
726
enable = false
652
727
topic = "transaction"
728
+
solidified = false
729
+
ethCompatible = false // if set true, add transactionIndex, cumulativeEnergyUsed, preCumulativeLogCount, logList, energyUnitPrice, default is false
653
730
},
654
731
{
655
732
triggerName = "contractevent"
@@ -660,9 +737,10 @@ event.subscribe = {
660
737
triggerName = "contractlog"
661
738
enable = false
662
739
topic = "contractlog"
740
+
redundancy = false // if set true, contractevent will also be regarded as contractlog
663
741
},
664
742
{
665
-
triggerName = "solidity" // solidity block event trigger, the value can't be modified
743
+
triggerName = "solidity" // solidity block trigger(just include solidity block number and timestamp), the value can't be modified
666
744
enable = true // the default value is true
667
745
topic = "solidity"
668
746
},
@@ -675,6 +753,7 @@ event.subscribe = {
675
753
triggerName = "soliditylog"
676
754
enable = false
677
755
topic = "soliditylog"
756
+
redundancy = false // if set true, solidityevent will also be regarded as soliditylog
678
757
}
679
758
]
680
759
@@ -689,5 +768,5 @@ event.subscribe = {
689
768
"" // contract topic you want to subscribe, if it's set to "", you will receive contract logs/events with any contract topic.
0 commit comments