Pages:
Author

Topic: Dark Exchange: a 100% decentralized p2p exchange - page 6. (Read 92277 times)

legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
It would be nice to have checkboxes instead of the current one-choice form for the transfer manner


And the error I posted above is also thrown when I try to create a new account
full member
Activity: 164
Merit: 100
Atomic means that the two sub-transactions (BTC to one place, USD to another) happen at the same time.
It doesn't have to be literally at the same time, but they happen both or none of them.
Normally you need a third party to escrow the payments but I have a proposal to avoid that in some cases.

I guessed it use LR because some web exchanges like mtgox, BTCex or bitcoin central use it.

It may be possible to do atomic transactions with purely digital currencies. I don't think it would be possible with fiat. Either way, you can still use Dark Exchange with these methods. It's just not integrated in any meaningful way.

Also, Dark Exchange does not currently use Liberty Reserve.
full member
Activity: 164
Merit: 100
Do I need ports forwarded.. or something?

Runs fine... or seems to, but i never get any peers or anything.. been running for a couple of hours now.


Did you make sure I2P is running properly? You can do that through your browser using the link: http://127.0.0.1:7657/index.jsp

If that seems to be up and running properly, you can try restarting Dark Exchange. Otherwise, I'm not sure what to do.

I have an idea to make Dark Exchange even more aggressive with connecting to peers, but it will have to wait a couple weeks before I can get to it.
legendary
Activity: 1372
Merit: 1002
Atomic means that the two sub-transactions (BTC to one place, USD to another) happen at the same time.
It doesn't have to be literally at the same time, but they happen both or none of them.
Normally you need a third party to escrow the payments but I have a proposal to avoid that in some cases.

I guessed it use LR because some web exchanges like mtgox, BTCex or bitcoin central use it.

sr. member
Activity: 476
Merit: 250
moOo
Do I need ports forwarded.. or something?

Runs fine... or seems to, but i never get any peers or anything.. been running for a couple of hours now.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
First of all, all I say is what I understood about this project, don't take it as 100% true until Morpheus confirms it  Wink

Exchange of fiat money is not solved through p2p-network, here p2p really stands for peer to peer
Ie you send your bitcoins (or even a fiat currency) and the other person sends you what you buy/sell, nothing else involved like in traditional currency exchanges

I see, since the exchange doesn't warranty that the trade is atomic, it may not be even through the internet. The two users will decide.
Have you seen my proposal for an anonymous almost-atomic exchange between bitcoin-like currencies?
If one of them adapts its code (bitcoin or namecoin), it could be done atomically.

The problem is that I don't understand the word 'atomic'. If it means something like 'automatic', then, yes, Dark Exchange (after some modifications) can be an awesome tool to perform automated, instant, nearly-sure cryptocurrencies exchange

Thanks jtimon % jackjack

Exchange of fiat money is not solved through p2p-network, here p2p really stands for peer to peer

So the p2p-network handles only the bids and serves the personal contacts; pays are done out of the box. Do I understand?

The key of my confusion is that I didn't know a word of services like "libertyreserve"...
Exactly
I don't know libertyreserve either, for now the choices in Dark Exchange are 'Cash by mail' and 'Check or money order by mail', but Dwolla, Paypal, Libertyreserve, or even 'face to face exchange in a Central Park' can easily be added
full member
Activity: 164
Merit: 100
So the p2p-network handles only the bids and serves the personal contacts; pays are done out of the box. Do I understand?

Yes, this is correct. Though, it also walks you through the trade process.

The key of my confusion is that I didn't know a word of services like "libertyreserve"...

Actually, Dark Exchange does not currently support Liberty Reserve (though I can easily add it if there is interest). You can use Dwolla to transfer USD. You can learn more about Dwolla at: https://www.dwolla.com/default.aspx

Otherwise, you have the option of sending fiat money through the mail.
sr. member
Activity: 252
Merit: 250
Thanks jtimon % jackjack

Exchange of fiat money is not solved through p2p-network, here p2p really stands for peer to peer

So the p2p-network handles only the bids and serves the personal contacts; pays are done out of the box. Do I understand?

The key of my confusion is that I didn't know a word of services like "libertyreserve"...
legendary
Activity: 1372
Merit: 1002
Exchange of fiat money is not solved through p2p-network, here p2p really stands for peer to peer
Ie you send your bitcoins (or even a fiat currency) and the other person sends you what you buy/sell, nothing else involved like in traditional currency exchanges

I see, since the exchange doesn't warranty that the trade is atomic, it may not be even through the internet. The two users will decide.
Have you seen my proposal for an anonymous almost-atomic exchange between bitcoin-like currencies?
If one of them adapts its code (bitcoin or namecoin), it could be done atomically.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
Exchange of fiat money is not solved through p2p-network, here p2p really stands for peer to peer
Ie you send your bitcoins (or even a fiat currency) and the other person sends you what you buy/sell, nothing else involved like in traditional currency exchanges
legendary
Activity: 1372
Merit: 1002
Perhaps it's a dummy question, but I don't really see the question.


4. Linda sends the payment,
(...)
6. Barry sends his payment to linda,

And... how Linda and Barry send fiat money through the Dark Exchange (at least, one of both sends fiat money)!!?? Do they need a central authority bank, a paypal account...?

If exchange of fiat money through p2p-network is solved... why do we need bitcoin?

Yes you need a central authority to send national currencies (I would say bitcoin is also fiat) through the internet.
I think in this case the central authority is this:

http://www.libertyreserve.com/
sr. member
Activity: 252
Merit: 250
Perhaps it's a dummy question, but I don't really see the question.


4. Linda sends the payment,
(...)
6. Barry sends his payment to linda,

And... how Linda and Barry send fiat money through the Dark Exchange (at least, one of both sends fiat money)!!?? Do they need a central authority bank, a paypal account...?

If exchange of fiat money through p2p-network is solved... why do we need bitcoin?
legendary
Activity: 1372
Merit: 1002
Hi, guys, I had an idea for a decentralized exchange.
It only works for chain crypto-currencies, but you don't need to trust anybody to make a exchange.
hero member
Activity: 491
Merit: 500
interesting will watch this development
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
I think I'll create a new account, it's not that important
full member
Activity: 164
Merit: 100
It should have worked with the dev flag also. Strange.
In the data dir there are dark_exchange_development.(h2|trace).db and dark_exchange_production.(h2|trace).db, si finally it's not that strange I believe

Duh, the development and production databases are separate. Smiley

For some reason, I thought it would use the same database. That still doesn't explain the exceptions you're getting.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
It should have worked with the dev flag also. Strange.
In the data dir there are dark_exchange_development.(h2|trace).db and dark_exchange_production.(h2|trace).db, si finally it's not that strange I believe
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
I edited again, sorry for that (I won't edit anymore Wink )

Actually there are 2 different errors (when no dev flag), when I hit the Login button

If the password is correct:

Code:
ERROR [darkexchange.uncaught-exception-handler]: Uncaught Exception:
java.util.concurrent.RejectedExecutionException
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:92)
at clojure.core$future_call.invoke(core.clj:5406)
at darkexchange.controller.login.login$login.invoke(login.clj:62)
at darkexchange.controller.login.login$login_action.invoke(login.clj:70)
at seesaw.event$fire.invoke(event.clj:206)
at seesaw.event$eval1022$fn$reify__1024.actionPerformed(event.clj:233)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:191)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1633)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267)
at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:216)
at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2928)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2920)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
at java.awt.Component.processEvent(Component.java:6040)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
at java.awt.Component.dispatchEventImpl(Component.java:4502)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)



If not:

Code:
ERROR [darkexchange.uncaught-exception-handler]: Uncaught Exception:
java.util.concurrent.RejectedExecutionException
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1768)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:92)
at clojure.core$future_call.invoke(core.clj:5406)
at darkexchange.controller.login.login$login.invoke(login.clj:62)
at darkexchange.controller.login.login$login_action.invoke(login.clj:70)
at seesaw.event$fire.invoke(event.clj:206)
at seesaw.event$eval1022$fn$reify__1024.actionPerformed(event.clj:233)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

full member
Activity: 164
Merit: 100
Got a new question: where are the accounts? I'd really like to import my account into my dev repo instead of creating a new one
I even 'find | xargs grep''d, but nothing...

Your account is held in a database in the data directory where your Dark Exchange is installed. If you want move it over to your dev repo, simply copy the entire data directory.
It works but without the dev flag

That means you're running on the real network instead of the development network. It should be fine, but you could cause exceptions or have issues when you start changing things.

It should have worked with the dev flag also. Strange.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
Got a new question: where are the accounts? I'd really like to import my account into my dev repo instead of creating a new one
I even 'find | xargs grep''d, but nothing...

Your account is held in a database in the data directory where your Dark Exchange is installed. If you want move it over to your dev repo, simply copy the entire data directory.
It works but without the dev flag
Well, no after all, without the dev flag I got that error:

See below
Pages:
Jump to: