feat(p2p): bootstrap peers

This commit is contained in:
Alexey Kasyanchuk
2018-03-10 00:06:56 +03:00
parent c7a217ec37
commit 10d0a2fbc0
3 changed files with 75 additions and 10 deletions

View File

@ -66,6 +66,15 @@ export default class AdminPage extends Page {
this.forceUpdate()
}}
/>
<Toggle
style={{marginTop: '10px'}}
label="Enabled bootstrap peers"
toggled={this.options.p2pBootstrap}
onToggle={(e, checked) => {
this.options.p2pBootstrap = checked
this.forceUpdate()
}}
/>
<div className='column w100p'>
<div className='row inline w100p'>
<div style={{flex: 1}}>Scanning port</div>