Created
May 11, 2021 16:01
-
-
Save fusetim/2db55f1f356f13740923d0231c4efede to your computer and use it in GitHub Desktop.
IPFS config from my PC node (go-ipfs 0.8.0 on amd64)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"API": { | |
"HTTPHeaders": { | |
"Access-Control-Allow-Methods": [ | |
"PUT", | |
"POST" | |
], | |
"Access-Control-Allow-Origin": [ | |
"http://webui.ipfs.io.ipns.localhost:8080", | |
"http://localhost:3000", | |
"http://127.0.0.1:5001", | |
"https://webui.ipfs.io" | |
] | |
} | |
}, | |
"Addresses": { | |
"API": "/ip4/127.0.0.1/tcp/5001", | |
"Announce": [], | |
"Gateway": "/ip4/127.0.0.1/tcp/8080", | |
"NoAnnounce": [], | |
"Swarm": [ | |
"/ip4/0.0.0.0/tcp/4001", | |
"/ip6/::/tcp/4001", | |
"/ip4/0.0.0.0/udp/4001/quic", | |
"/ip6/::/udp/4001/quic" | |
] | |
}, | |
"AutoNAT": {}, | |
"Bootstrap": [ | |
"/dnsaddr/bootstrap.libp2p.io/p2p/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb", | |
"/dnsaddr/bootstrap.libp2p.io/p2p/QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt", | |
"/ip4/104.131.131.82/tcp/4001/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ", | |
"/ip4/104.131.131.82/udp/4001/quic/p2p/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ", | |
"/dnsaddr/bootstrap.libp2p.io/p2p/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN", | |
"/dnsaddr/bootstrap.libp2p.io/p2p/QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa" | |
], | |
"Datastore": { | |
"BloomFilterSize": 0, | |
"GCPeriod": "1h", | |
"HashOnRead": false, | |
"Spec": { | |
"mounts": [ | |
{ | |
"child": { | |
"path": "blocks", | |
"shardFunc": "/repo/flatfs/shard/v1/next-to-last/2", | |
"sync": true, | |
"type": "flatfs" | |
}, | |
"mountpoint": "/blocks", | |
"prefix": "flatfs.datastore", | |
"type": "measure" | |
}, | |
{ | |
"child": { | |
"compression": "none", | |
"path": "datastore", | |
"type": "levelds" | |
}, | |
"mountpoint": "/", | |
"prefix": "leveldb.datastore", | |
"type": "measure" | |
} | |
], | |
"type": "mount" | |
}, | |
"StorageGCWatermark": 90, | |
"StorageMax": "10GB" | |
}, | |
"Discovery": { | |
"MDNS": { | |
"Enabled": true, | |
"Interval": 10 | |
} | |
}, | |
"Experimental": { | |
"FilestoreEnabled": false, | |
"GraphsyncEnabled": false, | |
"Libp2pStreamMounting": false, | |
"P2pHttpProxy": false, | |
"ShardingEnabled": false, | |
"StrategicProviding": false, | |
"UrlstoreEnabled": false | |
}, | |
"Gateway": { | |
"APICommands": [], | |
"HTTPHeaders": { | |
"Access-Control-Allow-Headers": [ | |
"X-Requested-With", | |
"Range", | |
"User-Agent" | |
], | |
"Access-Control-Allow-Methods": [ | |
"GET" | |
], | |
"Access-Control-Allow-Origin": [ | |
"*" | |
] | |
}, | |
"NoDNSLink": false, | |
"NoFetch": false, | |
"PathPrefixes": [], | |
"PublicGateways": null, | |
"RootRedirect": "", | |
"Writable": false | |
}, | |
"Identity": { | |
"PeerID": "12D3<redacted>C16AKgEL" | |
}, | |
"Ipns": { | |
"RecordLifetime": "", | |
"RepublishPeriod": "", | |
"ResolveCacheSize": 128 | |
}, | |
"Mounts": { | |
"FuseAllowOther": false, | |
"IPFS": "/ipfs", | |
"IPNS": "/ipns" | |
}, | |
"Peering": { | |
"Peers": null | |
}, | |
"Pinning": { | |
"RemoteServices": {} | |
}, | |
"Plugins": { | |
"Plugins": null | |
}, | |
"Provider": { | |
"Strategy": "" | |
}, | |
"Pubsub": { | |
"DisableSigning": false, | |
"Router": "" | |
}, | |
"Reprovider": { | |
"Interval": "12h", | |
"Strategy": "all" | |
}, | |
"Routing": { | |
"Type": "dht" | |
}, | |
"Swarm": { | |
"AddrFilters": null, | |
"ConnMgr": { | |
"GracePeriod": "20s", | |
"HighWater": 900, | |
"LowWater": 600, | |
"Type": "basic" | |
}, | |
"DisableBandwidthMetrics": false, | |
"DisableNatPortMap": false, | |
"EnableAutoRelay": false, | |
"EnableRelayHop": false, | |
"Transports": { | |
"Multiplexers": {}, | |
"Network": {}, | |
"Security": {} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment