Decentralized or Centralized
2018-01-28
Hello Steemians and investors, the question of today is: Can we create a centralized ICO/project on a decentralized platform?
The answer of this question is: yes you can add several functions to freeze and unfreeze accounts that mean you can have a centralized app on a decentralized system. For example look at the code below we can see the option to freeze account and unfreeze account as well as transaction
pragma solidity 0.4;
contract account {
address blocker;
address user;
bool isBlocked;
function account(address blockerAccount, address _user) {
blocker=blockerAccount;
user=_user;
isBlocked=true;
}
modifier isUnblocked() {
if(!isBlocked) {
_; }
}
modifier isBlocker(address msgSender) {
if(msgSender == blocker) {
_; }
}
modifier isUser(address msgSender) {
if(msgSender == user) {
_; }
}
function unblock() isBlocker(msg.sender) {
isBlocked=false;
}
function withdraw(address withdrawAddress, uint amount) isUser(msg.sender) isUnblocked() {
withdrawAddress.transfer(amount);
}
}
What is centralization?
Centralization refers to the hierarchical level within an organization that has authority to make decisions. Nowadays we can use both ways - it can be centralized at a high level and decentralized at lower levels. When decision making is kept at the top level, the organization is centralized; when it is delegated to lower organizational levels, it is decentralized.
To elaborate the debate, we will overview some benefits and disadvantage of centralized systems.
| Centralized | Decentralized |
| Helping you monitor your Dapp, increasing security and fewer spammers | Don't have this possibility |
| Users Not equal: Account can be frozen loosing their coins | Against Censorship |
| Single authority to make decisions. | Ownerless, anybody is able to fork creating his version. |
| Faster to improve projects, every project has is own tasks | Takes longer time, have to vote for all the upcoming projects |
| Won't have diseconomies of scale i.e -duplication of roles. | Improving staff motivation |
| Prevent other parts of the business to become too independent. | decisions are made closer to customer needs |
| You can't see the code, can hide backdoors | Normally on Github, enable everybody to look at the code and copy it. |
Do you see this issue is not simple as it seems to be. Basically, this is two different approach of management - every dept has is own job and do not concert with other depts or all of the depts shall have their words on the company developments.
I think that them both have their own charm!!! great topic!!! awesome post!!! hey I am going to use your gif square thing in the future if you dont mind :) its pretty cool looking :) keep in touch!
with pleasure:)