storage: Making use of SkipList-based index
Change-Id: I360af97ae794da383fe00aaad8ab3c417c5167d3
Refs: #1695, #1434
diff --git a/repo-ng.conf.sample b/repo-ng.conf.sample
index aa4a6b3..8c6dc4c 100644
--- a/repo-ng.conf.sample
+++ b/repo-ng.conf.sample
@@ -22,6 +22,7 @@
{
method "sqlite" ; Currently, only sqlite storage engine is supported
path "/var/db/ndn-repo-ng" ; path to repo-ng storage folder
+ max-packets 100000
}
; Section to enable TCP bulk insert capability
@@ -34,58 +35,63 @@
validator
{
- ; These rule is just an example of validation of signed interests for commands and data.
- ; User could define its own rule for signed interest or data to be inserted
- ; according to Validator Configuration File Format.
- ; (http://redmine.named-data.net/projects/ndn-cxx/wiki/CommandValidatorConf)
- rule
- {
- id "Simple Rule For Interest"
- for interest
- filter
- {
- type name
- name /example/repo/1
- relation is-prefix-of
- }
- checker
- {
- type fixed-signer
- sig-type rsa-sha256
- signer
- {
- type file
- ; repo-ng.cert.sample is just a non-existent certificate.
- ; User should create its own certification using Security Tool.
- ; (http://redmine.named-data.net/projects/ndn-cxx/wiki/SecurityTools)
- file-name "repo-ng.cert.sample"
- }
- }
+ ; The following rule disables all security in the repo
+ trust-anchor {
+ type any
}
- rule
- {
- id "Simple Rule For Data"
- for data
- filter
- {
- type name
- name /example/data/1
- relation is-prefix-of
- }
- checker
- {
- type fixed-signer
- sig-type rsa-sha256
- signer
- {
- type file
- ; repo-ng.cert.sample is just a non-existent certificate.
- ; User should create its own certification using Security Tool.
- ; (http://redmine.named-data.net/projects/ndn-cxx/wiki/SecurityTools)
- file-name "repo-ng.cert.sample"
- }
- }
- }
+ ; ; These rule are examples of validation of signed interests for commands and data.
+ ; ; User could define its own rule for signed interest or data to be inserted
+ ; ; according to Validator Configuration File Format.
+ ; ; (http://redmine.named-data.net/projects/ndn-cxx/wiki/CommandValidatorConf)
+ ; rule
+ ; {
+ ; id "Simple Rule For Interest"
+ ; for interest
+ ; filter
+ ; {
+ ; type name
+ ; name /example/repo/1
+ ; relation is-prefix-of
+ ; }
+ ; checker
+ ; {
+ ; type fixed-signer
+ ; sig-type rsa-sha256
+ ; signer
+ ; {
+ ; type file
+ ; ; repo-ng.cert.sample is just a non-existent certificate.
+ ; ; User should create its own certification using Security Tool.
+ ; ; (http://redmine.named-data.net/projects/ndn-cxx/wiki/SecurityTools)
+ ; file-name "repo-ng.cert.sample"
+ ; }
+ ; }
+ ; }
+ ;
+ ; rule
+ ; {
+ ; id "Simple Rule For Data"
+ ; for data
+ ; filter
+ ; {
+ ; type name
+ ; name /example/data/1
+ ; relation is-prefix-of
+ ; }
+ ; checker
+ ; {
+ ; type fixed-signer
+ ; sig-type rsa-sha256
+ ; signer
+ ; {
+ ; type file
+ ; ; repo-ng.cert.sample is just a non-existent certificate.
+ ; ; User should create its own certification using Security Tool.
+ ; ; (http://redmine.named-data.net/projects/ndn-cxx/wiki/SecurityTools)
+ ; file-name "repo-ng.cert.sample"
+ ; }
+ ; }
+ ; }
}
}
\ No newline at end of file