Browse Source

debora off by default and new key

pull/43/merge
Ethan Buchman 10 years ago
parent
commit
c012bef03f
2 changed files with 5 additions and 4 deletions
  1. +1
    -1
      cmd/main.go
  2. +4
    -3
      daemon/daemon.go

+ 1
- 1
cmd/main.go View File

@ -29,7 +29,7 @@ Commands:
case "daemon": case "daemon":
config.ParseFlags(args[1:]) config.ParseFlags(args[1:])
logger.Reset() logger.Reset()
var deborable daemon.DeboraMode
var deborable daemon.DeboraMode = daemon.DeboraNullMode
if len(args) > 1 { if len(args) > 1 {
switch args[1] { switch args[1] {
case "debora": case "debora":


+ 4
- 3
daemon/daemon.go View File

@ -174,7 +174,7 @@ func (n *Node) MempoolReactor() *mempl.MempoolReactor {
var ( var (
AppName = "tendermint" AppName = "tendermint"
SrcPath = "github.com/tendermint/tendermint/cmd" SrcPath = "github.com/tendermint/tendermint/cmd"
PublicKey = "30820122300d06092a864886f70d01010105000382010f003082010a0282010100dd861e9cd5a3f3fc27d46531aa9d87f5b63f6358fa00397482c4ab93abf4ab2e3ed75380fc714d52b5e80afc184f21d5732f2d6dacc23f0e802e585ee005347c2af0ad992ee5c11b2a96f72bcae78bef314ba4448b33c3a1df7a4d6e6a808d21dfeb67ef974c0357ba54649dbcd92ec2a8d3a510da747e70cb859a7f9b15a6eceb2179c225afd3f8fb15be38988f9b82622d855f343af5830ca30a5beff3905b618f6cc39142a60ff5840595265a1f7b9fbd504760667a1b2508097c1831fd13f54c794a08468d65db9e27aff0a889665ebd7de4a6e9a6c09b3811b6cda623be48e1214ba0f9b378441e2a02b3891bc8ec1ae7081988e15c2f53fa6512784b390203010001"
PublicKey = "30820122300d06092a864886f70d01010105000382010f003082010a0282010100d1ffab251e05c0cae7bdd5f94c1b9644d4eb66847ee2e9a622b09e0228f2e70e6fecd1dfe6b3dc59fefab1abf0ff4e5d9657541cbe697ab1cf23fb26c9b857f6b6db8b67a0223b514ca77c8f1e049eaf9477d1a5f8041d045eeb0253a3c1ff7b90150d9b5c814a8d05fb707dd35aac118d5457334a557a82579f727a8bed521b0895b73da2458ffd1fc4be91adb624cc25731194d491f23ed47bf9a7265d28b23885e8a70625772eeeaf8e56ff3a1a2f33934668cc3a874042711f8b386da7842c117441a4d6ed29a182a00499ed5d4b6ce9532c5468d3976991f66d595a6f361e29cdf7750cf1c21e583e4c2207334c8d33ead731bf1172793b176089978b110203010001"
DeboraCallPort = 56565 DeboraCallPort = 56565
) )
@ -182,8 +182,9 @@ var (
type DeboraMode int type DeboraMode int
const ( const (
DeboraPeerMode DeboraMode = iota
DeboraDevMode
DeboraNullMode = iota // debora off by default
DeboraPeerMode // upgradeable
DeboraDevMode // upgrader
) )
func deboraBroadcast(n *Node) func([]byte) { func deboraBroadcast(n *Node) func([]byte) {


Loading…
Cancel
Save