Merge pull request #3084 from nspcc-dev/wrkshp-upd
examples, config: minor adjustments for workshop
This commit is contained in:
commit
5fc61be5f6
6 changed files with 11 additions and 0 deletions
|
@ -73,6 +73,7 @@ ApplicationConfiguration:
|
||||||
- ":30336"
|
- ":30336"
|
||||||
MaxGasInvoke: 15
|
MaxGasInvoke: 15
|
||||||
EnableCORSWorkaround: false
|
EnableCORSWorkaround: false
|
||||||
|
SessionEnabled: true
|
||||||
Prometheus:
|
Prometheus:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Addresses:
|
Addresses:
|
||||||
|
|
|
@ -73,6 +73,7 @@ ApplicationConfiguration:
|
||||||
- ":30333"
|
- ":30333"
|
||||||
MaxGasInvoke: 15
|
MaxGasInvoke: 15
|
||||||
EnableCORSWorkaround: false
|
EnableCORSWorkaround: false
|
||||||
|
SessionEnabled: true
|
||||||
Prometheus:
|
Prometheus:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Addresses:
|
Addresses:
|
||||||
|
|
|
@ -64,6 +64,7 @@ ApplicationConfiguration:
|
||||||
- ":30333"
|
- ":30333"
|
||||||
EnableCORSWorkaround: false
|
EnableCORSWorkaround: false
|
||||||
MaxGasInvoke: 15
|
MaxGasInvoke: 15
|
||||||
|
SessionEnabled: true
|
||||||
Prometheus:
|
Prometheus:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Addresses:
|
Addresses:
|
||||||
|
|
|
@ -73,6 +73,7 @@ ApplicationConfiguration:
|
||||||
- ":30335"
|
- ":30335"
|
||||||
MaxGasInvoke: 15
|
MaxGasInvoke: 15
|
||||||
EnableCORSWorkaround: false
|
EnableCORSWorkaround: false
|
||||||
|
SessionEnabled: true
|
||||||
Prometheus:
|
Prometheus:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Addresses:
|
Addresses:
|
||||||
|
|
|
@ -73,6 +73,7 @@ ApplicationConfiguration:
|
||||||
EnableCORSWorkaround: false
|
EnableCORSWorkaround: false
|
||||||
Addresses:
|
Addresses:
|
||||||
- ":30334"
|
- ":30334"
|
||||||
|
SessionEnabled: true
|
||||||
Prometheus:
|
Prometheus:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Addresses:
|
Addresses:
|
||||||
|
|
|
@ -54,3 +54,9 @@ func Find(value []byte) []string {
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FindReturnIter returns an iterator over key-value pairs with the key that has the specified prefix.
|
||||||
|
func FindReturnIter(prefix []byte) iterator.Iterator {
|
||||||
|
iter := storage.Find(ctx, prefix, storage.None)
|
||||||
|
return iter
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue