mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
eth/filters: raise maxAddresses to 1000
This commit is contained in:
parent
7ff1e9a2be
commit
64d7c42c0b
1 changed files with 8 additions and 8 deletions
|
|
@ -43,14 +43,14 @@ var (
|
|||
errExceedMaxAddresses = errors.New("exceed max addresses")
|
||||
)
|
||||
|
||||
// The maximum number of topic criteria allowed, vm.LOG4 - vm.LOG0
|
||||
const maxTopics = 4
|
||||
|
||||
// The maximum number of allowed topics within a topic criteria
|
||||
const maxSubTopics = 1000
|
||||
|
||||
// The maximum number of addresses allowed in a filter criteria
|
||||
const maxAddresses = 100
|
||||
const (
|
||||
// The maximum number of addresses allowed in a filter criteria
|
||||
maxAddresses = 1000
|
||||
// The maximum number of topic criteria allowed, vm.LOG4 - vm.LOG0
|
||||
maxTopics = 4
|
||||
// The maximum number of allowed topics within a topic criteria
|
||||
maxSubTopics = 1000
|
||||
)
|
||||
|
||||
// filter is a helper struct that holds meta information over the filter type
|
||||
// and associated subscription in the event system.
|
||||
|
|
|
|||
Loading…
Reference in a new issue