Bitcoin Forum
June 17, 2024, 11:57:15 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 »
121  Bitcoin / Development & Technical Discussion / Re: Prize for importing private key on: February 20, 2011, 08:05:49 PM
Donate them to someone making a patch for importing private keys into the wallet. Smiley
122  Bitcoin / Bitcoin Discussion / Re: Register bitcoin protocol (bitcoin://...) on: February 20, 2011, 01:12:35 PM
You don't need to use bitcoin://address. bitcoin:address works fine in firefox and you can use the URI scheme from
https://en.bitcoin.it/wiki/URI_Scheme (used by js-remote)

There should be a format just to add someone's address info, and one for actually triggering the send coin dialog (like suggested above, it prefills the fields with suggested values, but doesn't actually try to send any amount unless the client is set to do so (might be usefull for some people i guess) )

js-remote always pre-fills fields and offers to send when both amount and address is set. Feel free to try out the demo to see how it works.
123  Bitcoin / Development & Technical Discussion / [PATCH] remove from/message fields from SendDialog on: February 20, 2011, 01:06:47 AM
I've made a small patch to remove the from/message fields from SendDialog as it seems to confuse users. This doesn't update uiproject.fbp as wxformbuilder decided to change the entire structure of the file so it can't be patched easily (file is about 900kb).

I don't have a wx build environment so I don't even know if this patch compiles. Can someone verify (and fix) this patch?

Code:
diff --git a/ui.cpp b/ui.cpp
index 17ad630..fe70536 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -1862,44 +1862,12 @@ CSendDialog::CSendDialog(wxWindow* parent, const wxString& strAddress) : CSendDi
     iconSend.CopyFromBitmap(wxBitmap(send16noshadow_xpm));
     SetIcon(iconSend);
 
-    wxCommandEvent event;
-    OnTextAddress(event);
-
     // Fixup the tab order
     m_buttonPaste->MoveAfterInTabOrder(m_buttonCancel);
     m_buttonAddress->MoveAfterInTabOrder(m_buttonPaste);
     this->Layout();
 }
 
-void CSendDialog::OnTextAddress(wxCommandEvent& event)
-{
-    // Check mark
-    event.Skip();
-    bool fBitcoinAddress = IsValidBitcoinAddress(m_textCtrlAddress->GetValue());
-    m_bitmapCheckMark->Show(fBitcoinAddress);
-
-    // Grey out message if bitcoin address
-    bool fEnable = !fBitcoinAddress;
-    m_staticTextFrom->Enable(fEnable);
-    m_textCtrlFrom->Enable(fEnable);
-    m_staticTextMessage->Enable(fEnable);
-    m_textCtrlMessage->Enable(fEnable);
-    m_textCtrlMessage->SetBackgroundColour(wxSystemSettings::GetColour(fEnable ? wxSYS_COLOUR_WINDOW : wxSYS_COLOUR_BTNFACE));
-    if (!fEnable && fEnabledPrev)
-    {
-        strFromSave    = m_textCtrlFrom->GetValue();
-        strMessageSave = m_textCtrlMessage->GetValue();
-        m_textCtrlFrom->SetValue(_("n/a"));
-        m_textCtrlMessage->SetValue(_("Can't include a message when sending to a Bitcoin address"));
-    }
-    else if (fEnable && !fEnabledPrev)
-    {
-        m_textCtrlFrom->SetValue(strFromSave);
-        m_textCtrlMessage->SetValue(strMessageSave);
-    }
-    fEnabledPrev = fEnable;
-}
-
 void CSendDialog::OnKillFocusAmount(wxFocusEvent& event)
 {
     // Reformat the amount
@@ -1993,8 +1961,6 @@ void CSendDialog::OnButtonSend(wxCommandEvent& event)
 
             // Message
             wtx.mapValue["to"] = strAddress;
-            wtx.mapValue["from"] = m_textCtrlFrom->GetValue();
-            wtx.mapValue["message"] = m_textCtrlMessage->GetValue();
 
             // Send to IP address
             CSendingDialog* pdialog = new CSendingDialog(this, addr, nValue, wtx);
diff --git a/uibase.cpp b/uibase.cpp
index a421e77..5c7ada4 100644
--- a/uibase.cpp
+++ b/uibase.cpp
@@ -606,7 +606,7 @@ CSendDialogBase::CSendDialogBase( wxWindow* parent, wxWindowID id, const wxStrin
 
  fgSizer1->Add( 0, 0, 0, wxEXPAND, 5 );
 
- m_staticTextInstructions = new wxStaticText( this, wxID_ANY, _("Enter a Bitcoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJED9L) or IP address (e.g. 123.45.6.7)"), wxDefaultPosition, wxDefaultSize, 0 );
+ m_staticTextInstructions = new wxStaticText( this, wxID_ANY, _("Enter a Bitcoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)"), wxDefaultPosition, wxDefaultSize, 0 );
  m_staticTextInstructions->Wrap( -1 );
  fgSizer1->Add( m_staticTextInstructions, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
 
@@ -677,40 +677,6 @@ CSendDialogBase::CSendDialogBase( wxWindow* parent, wxWindowID id, const wxStrin
 
  bSizer21->Add( fgSizer1, 0, wxEXPAND|wxLEFT, 5 );
 
- wxBoxSizer* bSizer672;
- bSizer672 = new wxBoxSizer( wxHORIZONTAL );
-
- wxBoxSizer* bSizer681;
- bSizer681 = new wxBoxSizer( wxVERTICAL );
-
- m_staticTextFrom = new wxStaticText( this, wxID_ANY, _("&From:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTextFrom->Wrap( -1 );
- bSizer681->Add( m_staticTextFrom, 0, wxBOTTOM|wxLEFT, 5 );
-
- m_textCtrlFrom = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( -1,-1 ), 0 );
- bSizer681->Add( m_textCtrlFrom, 0, wxLEFT|wxEXPAND, 5 );
-
- bSizer672->Add( bSizer681, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
-
- bSizer21->Add( bSizer672, 0, wxEXPAND, 5 );
-
- wxBoxSizer* bSizer67;
- bSizer67 = new wxBoxSizer( wxHORIZONTAL );
-
- wxBoxSizer* bSizer68;
- bSizer68 = new wxBoxSizer( wxVERTICAL );
-
- m_staticTextMessage = new wxStaticText( this, wxID_ANY, _("&Message:"), wxDefaultPosition, wxDefaultSize, 0 );
- m_staticTextMessage->Wrap( -1 );
- bSizer68->Add( m_staticTextMessage, 0, wxTOP|wxBOTTOM|wxLEFT, 5 );
-
- m_textCtrlMessage = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );
- bSizer68->Add( m_textCtrlMessage, 1, wxEXPAND|wxLEFT, 5 );
-
- bSizer67->Add( bSizer68, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
-
- bSizer21->Add( bSizer67, 1, wxEXPAND, 5 );
-
  wxBoxSizer* bSizer23;
  bSizer23 = new wxBoxSizer( wxHORIZONTAL );
 
@@ -732,13 +698,10 @@ CSendDialogBase::CSendDialogBase( wxWindow* parent, wxWindowID id, const wxStrin
 
  // Connect Events
  m_textCtrlAddress->Connect( wxEVT_KEY_DOWN, wxKeyEventHandler( CSendDialogBase::OnKeyDown ), NULL, this );
- m_textCtrlAddress->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( CSendDialogBase::OnTextAddress ), NULL, this );
  m_buttonPaste->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CSendDialogBase::OnButtonPaste ), NULL, this );
  m_buttonAddress->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CSendDialogBase::OnButtonAddressBook ), NULL, this );
  m_textCtrlAmount->Connect( wxEVT_KEY_DOWN, wxKeyEventHandler( CSendDialogBase::OnKeyDown ), NULL, this );
  m_textCtrlAmount->Connect( wxEVT_KILL_FOCUS, wxFocusEventHandler( CSendDialogBase::OnKillFocusAmount ), NULL, this );
- m_textCtrlFrom->Connect( wxEVT_KEY_DOWN, wxKeyEventHandler( CSendDialogBase::OnKeyDown ), NULL, this );
- m_textCtrlMessage->Connect( wxEVT_KEY_DOWN, wxKeyEventHandler( CSendDialogBase::OnKeyDown ), NULL, this );
  m_buttonSend->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CSendDialogBase::OnButtonSend ), NULL, this );
  m_buttonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CSendDialogBase::OnButtonCancel ), NULL, this );
 }
@@ -747,13 +710,10 @@ CSendDialogBase::~CSendDialogBase()
 {
  // Disconnect Events
  m_textCtrlAddress->Disconnect( wxEVT_KEY_DOWN, wxKeyEventHandler( CSendDialogBase::OnKeyDown ), NULL, this );
- m_textCtrlAddress->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( CSendDialogBase::OnTextAddress ), NULL, this );
  m_buttonPaste->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CSendDialogBase::OnButtonPaste ), NULL, this );
  m_buttonAddress->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CSendDialogBase::OnButtonAddressBook ), NULL, this );
  m_textCtrlAmount->Disconnect( wxEVT_KEY_DOWN, wxKeyEventHandler( CSendDialogBase::OnKeyDown ), NULL, this );
  m_textCtrlAmount->Disconnect( wxEVT_KILL_FOCUS, wxFocusEventHandler( CSendDialogBase::OnKillFocusAmount ), NULL, this );
- m_textCtrlFrom->Disconnect( wxEVT_KEY_DOWN, wxKeyEventHandler( CSendDialogBase::OnKeyDown ), NULL, this );
- m_textCtrlMessage->Disconnect( wxEVT_KEY_DOWN, wxKeyEventHandler( CSendDialogBase::OnKeyDown ), NULL, this );
  m_buttonSend->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CSendDialogBase::OnButtonSend ), NULL, this );
  m_buttonCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CSendDialogBase::OnButtonCancel ), NULL, this );
 }
124  Bitcoin / Project Development / Re: Iphone/Webphone bitcoin payment app? on: February 14, 2011, 10:01:57 PM
Actually I'd rather like a wallet service (js-remote will work with something that uses a bitcoin RPC interface) so we can't loose data on phones.
125  Bitcoin / Mining / Re: ATI Overdrive on Linux for 5850 and 5970? on: February 14, 2011, 03:58:58 PM
Best OC settings vary greatly. For 5970 it is usually around 800 MHz.
126  Bitcoin / Project Development / Re: Iphone/Webphone bitcoin payment app? on: February 13, 2011, 03:54:01 PM
js-remote ( http://tcatm.github.com/bitcoin-js-remote ) does something very similar. Except it doesn't use bluetooth, but QR codes.
127  Bitcoin / Bitcoin Discussion / Re: Parity Party!!! on: February 10, 2011, 12:09:34 AM
Fixed Sirius' picture:

128  Bitcoin / Mining / Re: OpenCL miner written in C on: February 09, 2011, 10:55:34 AM


This miner checks *all* solutions and doesn't throw away nonces like poclbm and DiabloMiner do to save bandwidth.

Could you explain this to a layman? What is significant about this? Thank you.  Kiss

poclbm and DiabloMiner only check some of the returned results form GPU hoping that the GPU will not find too many possible solutions. They improved that in recent versions, though. So my miner is a little bit (about 0.015%) faster. It also features a special pool mode because of this, which is much more efficient when using a pool.
129  Bitcoin / Mining / Re: OpenCL miner written in C on: February 08, 2011, 12:55:38 PM
update: miner now measures effective hashrate by inspecting actual results returned by GPU (instead of counting kernel runs). Returned hashrate is reliable after approx. 30 min runtime
130  Other / Meta / Re: Improving the Bitcoin Forum on: February 06, 2011, 06:34:07 PM
I'd like to see a separate forum for mining. Lately mining posts are filling the Development and Technical Discussion forum.
That's a good idea.
131  Bitcoin / Development & Technical Discussion / Re: [PULL REQUEST] Nolisten patch on: February 06, 2011, 06:27:15 PM
https://github.com/bitcoin/bitcoin/ is the integration branch and the patch is included.
132  Bitcoin / Pools / Re: Cooperative mining (>10000Mhash/s, join us!) on: February 06, 2011, 01:48:26 AM
I really enjoyed seeing some of my customers on the top.

Maybe us GPU miners should make a hall of fame, too? My miners found a total of 1184 blocks and I guess ArtForz's found even more; not to mention all those CPU miners running a year ago.
133  Bitcoin / Development & Technical Discussion / Re: Core Bitcoin Development Help Wanted on: February 06, 2011, 01:02:36 AM
I added version tags (0.3.20 and 0.3.21 for now) to some issues and will try to keep them up to date so we'll always know what's blocking a release.
134  Bitcoin / Mining / Re: OpenCL miner written in C on: February 05, 2011, 11:05:31 AM
Added poolmode (-m). Submits all H==0 results instead of only the best one.
135  Bitcoin / Mining / Re: OpenCL miner written in C on: February 05, 2011, 10:10:55 AM
Here's a copy of my hacked SDK: http://dl.dropbox.com/u/10284953/sdk2.1-hacked.tbz2
136  Bitcoin / Mining / OpenCL miner written in C on: February 05, 2011, 12:00:00 AM
Does not work with pools. Added poolmode (-m). Works best on 5870/5970 and SDK 2.1. Early development state. Patches welcome Smiley

552 Mhash/s on 5970 @ 725 MHz

https://github.com/tcatm/oclminer

This miner checks *all* solutions and doesn't throw away nonces like poclbm and DiabloMiner do to save bandwidth.
137  Bitcoin / Bitcoin Discussion / bitcoincharts: bitcoin-central tradehistory fixed on: February 04, 2011, 12:10:23 PM
There was a problem with updating trade history data from bitcoin-central.net. I fixed it with help from davout.
138  Bitcoin / Development & Technical Discussion / Re: Interface Optimization on: February 01, 2011, 09:39:03 PM
I'm working on a RPC GUI using either pygtk or wx (haven't decided yet). It will be similar to js-remote.
139  Bitcoin / Bitcoin Discussion / MtGox account compromised on: February 01, 2011, 08:11:37 AM
Offtopic: For easy to remember and secure passwords https://www.pwdhash.com/ works pretty good. There are browser extensions for most browsers.
140  Economy / Trading Discussion / Re: Charts wanted: Bitcoin /USD price development vs. DJI, Gold, Silver, etc? on: January 30, 2011, 08:02:26 PM
Do you know a good source I could poll for Gold / USD price and a source for Gold price history?
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!