getcanoe / canoed

Daemon for the Canoe Nano wallet, written in Nodejs
https://getcanoe.io
15 stars 7 forks source link

Set a default representative via the config #3

Open NiFNi opened 6 years ago

NiFNi commented 6 years ago

Setting a default representative via the backend config would be desireable to help dencetralise the network even more. Right now the default rep is hard coded in the client correct?

gokr commented 6 years ago

Yeah, putting it in the sharedconfig seems logical

NiFNi commented 6 years ago

So just a modification to the client is needed to be able to set the one from the sharedconfig as the default?

gokr commented 6 years ago

I have implemented this, need to verify it works.

NiFNi commented 6 years ago

Which key needs to be set in the sharedconf?

gokr commented 6 years ago

The key is "defaultRepresentative".