Bitcoin Forum

Other => Beginners & Help => Topic started by: mystery2048 on June 24, 2012, 08:27:01 AM



Title: BTC Plugin System Idea
Post by: mystery2048 on June 24, 2012, 08:27:01 AM
What do you think of my idea?

https://en.bitcoin.it/wiki/Plug-in_System


Title: Re: BTC Plugin System Idea
Post by: NothinG on June 24, 2012, 08:39:29 AM
How about an option to allow the Bitcoin to run in Heavy, Thin, or Lite mode?

Heavy, having the whole blockchain downloaded.

Thin, having only your transaction (sent and from) addresses shown.

Lite, using someone else's blockchain to verify payments. ( http://ecdsa.org/electrum/ )

These could be modules that would be required to restart the client before the module would be activated.
There could also be an option for cross-verification with 2 or all 3 of these modules.

Just an idea...


Title: Re: BTC Plugin System Idea
Post by: mystery2048 on June 24, 2012, 08:48:51 AM
Thats a good idea, I am sure something like that would be possible :)


Title: Re: BTC Plugin System Idea
Post by: mystery2048 on June 24, 2012, 08:49:26 AM
Ive proposed the idea to Gavin and he did say that it was too soon to think about implementing, I just wanted to know what you guys think of it... :)


Title: Re: BTC Plugin System Idea
Post by: gweedo on June 24, 2012, 04:58:49 PM
Only way this would work is if plugins could not touch sending BTC or receiving BTC also if it had a kill switch so at anytime I can just hit a button and disable all plugins or there is a build with no plugin system.


Title: Re: BTC Plugin System Idea
Post by: NothinG on June 24, 2012, 06:37:59 PM
Only way this would work is if plugins could not touch sending BTC or receiving BTC also if it had a kill switch so at anytime I can just hit a button and disable all plugins or there is a build with no plugin system.
You mean something like safe-mode?


Title: Re: BTC Plugin System Idea
Post by: mystery2048 on June 24, 2012, 06:42:33 PM
This would all be possible... But in any case, they could only send requests via some sort of IPC to the bitcoin client, they couldnt control it directly and thus only requests can be sent which can only go through with the users specific permission...


Title: Re: BTC Plugin System Idea
Post by: gweedo on June 24, 2012, 06:44:52 PM
Only way this would work is if plugins could not touch sending BTC or receiving BTC also if it had a kill switch so at anytime I can just hit a button and disable all plugins or there is a build with no plugin system.
You mean something like safe-mode?

I guess a safe-mode, but I rather just have a kill switch and not have to restart it


Title: Re: BTC Plugin System Idea
Post by: NothinG on June 24, 2012, 08:25:29 PM
Only way this would work is if plugins could not touch sending BTC or receiving BTC also if it had a kill switch so at anytime I can just hit a button and disable all plugins or there is a build with no plugin system.
You mean something like safe-mode?

I guess a safe-mode, but I rather just have a kill switch and not have to restart it
You could always run it in a frame (depending on what language you're working with, in C it's considered threads) which will allow you to run plugins in their own environment (aka, the sandbox idea).